The 88-year-old king was widely revered but had been in poor health in recent years, making few public appearances.
He was seen as a stabilising figure in a country hit by cycles of political turmoil and multiple coups.
Crown Prince Maha Vajiralongkorn will be the new monarch, the prime minister has said.