Farmington is a town in Hartford County in the Farmington Valley area of central Connecticut in the United States. The population was 25,340 at the 2010 census. It sits 10 miles west of Hartford at the hub of major I-84 interchanges, 20 miles south of Bradley International Airport and two hours by car from New York City and Boston. It is home to the world headquarters of several large corporations including United Technologies, Otis Elevator Company, and Carvel. The northwestern section of Farmington has a Unionville suburban neighborhood.