Rangaku (: /: , literally "Dutch learning", and by extension "Western learning") is a body of knowledge developed by Japan through its contacts with the Dutch enclave of Dejima, which allowed Japan to keep abreast of Western technology and medicine in the period when the country was closed to foreigners, 1641–1853, because of the Tokugawa shogunate's policy of national isolation (sakoku).
Through Rangaku, some people in Japan learned many aspects of the scientific and technological revolution occurring in Europe at that time, helping the country build up the beginnings of a theoretical and technological scientific base, which helps to explain Japan’s success in its radical and speedy modernization following the forced American opening of the country to foreign trade in 1854.
The Dutch traders at Dejima in Nagasaki were the only European foreigners tolerated in Japan from 1639 till 1853 (the Dutch had a trading post in Hirado from 1609 till 1641 before they had to move to Dejima), and their movements were carefully watched and strictly controlled, being limited initially to one yearly trip to give their homage to the Shogun in Edo. They became instrumental, however, in transmitting to Japan some knowledge of the industrial and scientific revolution that was occurring in Europe: the Japanese purchased and translated scientific books from the Dutch, obtained from them Western curiosities and manufactures (such as clocks, medical instruments, celestial and terrestrial globes, maps, plant seeds), and received demonstrations of Western innovations, such as the demonstrations of electric phenomena, and the flight of a hot air balloon in the early 19th century. In the 17th and 18th centuries, the Dutch were the most economically wealthy and scientifically advanced of all European nations, which put them in a privileged position to transfer Western knowledge to Japan. While other European countries faced ideological and political battles associated with the Protestant Reformation, the Netherlands were a free state, attracting leading thinkers such as René Descartes.