Ayrshire is a city in Palo Alto County, Iowa, United States. The population was 202 at the 2000 census.
Ayrshire was incorporated on 20 September 1895. In 1972, the town drew national attention for having the youngest mayor in America. Jody Smith was nineteen when he was elected mayor.
At one time, it had both a Catholic and Public high schools. The Catholic High school closed in 1947. The lower grades closed in 1968. The public school closed in the spring of 1982. The public school mascot was the Ayrshire Beavers.