Stanford is a town in and the county seat of Judith Basin County, Montana, United States. The population was at 401 as of the 2010 census, a decrease from its population of 454 in 2000.