Kofarnihon is a city in western Tajikistan, near Dushanbe. It is the capital of the Karotegin province.