Kapit is a town and the capital of Kapit District in Kapit Division, Sarawak, Malaysia on the south bank of the Rajang River. The district comprises 15,595.6 square kilometres and as of 2020, it has a population of 65,800.
Kapit is accessible by boat (slightly more than 2 hours from Sibu by express boat), light aircraft, and most recently by road. Reaching Kapit by car and bus from Sibu takes about 1 hour 30 minutes or about 1 hour from Song. It is the vibrant commercial and social center for the middle Rajang River catering to the longhouse communities and timber camps. It is an excellent base for exploring nearby longhouses or for arranging trips to the Upper Rejang and Balleh Rivers.
During the reign of Rajah Charles Brooke, a "Fort Kapit" was built in Kapit in 1880 to prevent the Iban from migrating up-river and attacking Orang Ulu settlements. With the security provided by the fort, the area surrounding the fort was settled by Hoklo (Hokkien) Chinese in 1880, additional Hakka Chinese immigrants arrived in 1906, and Fuzhou Chinese in 1919. The Hokkiens worked as labourers while the Hakkas worked as farmers before venturing into businesses. Hock Leong Tieng Temple was built by the Chinese in 1889. Tai San Ten Association was formed in 1935 to serve the interests of Hokkiens and Hakkas. In 1924, a peace treaty was signed between the Iban and the Orang Ulu people at Fort Kapit, thus ending the hostilities between the two tribes permanently. In 1925, "Fort Kapit" was renamed as Fort Sylvia, after the wife of Rajah Vyner Brooke, Rani Sylvia Brooke. The fort had withstood floods in 1887, 1934, 1961 and 1983. On 28 January 1934, Kapit experienced the most severe flood in history with water level as high as .
In 1941, at the time of the Japanese occupation, Kapit only had two rows of 37 shophouses. The town was completely destroyed by allied bombing during the war.
On 15 February 1962, 51 elected Iban chiefs had a meeting in Kapit to discuss the terms and proposals of the formation of federation of Malaysia, before the Cobbold Commission came to Kapit to assess the people's sentiment there.