North Hampton had its own Boston & Maine station ( North Hampton Station ). Passenger service started in 1849 and ended on January 3, 1965. North Hampton was on the Boston & Maine Eastern Route ( Boston - Portsmouth line ) The existing station was built in 1867.