Cody, WY has a population of 9,776 and is the 4,006th largest city in the United States. The population density is 960 per sq mi which is 16195% higher than the Wyoming average and 959% higher than the national average. The median age in Cody is 41 which is approximately 12% higher than the Wyoming average of 37. In Cody, 64% of the population over 15 years of age are married, 96% speak English and 1% speak Spanish. 37% of Cody residents were born in Wyoming, 60% were born out of state, 0% were born outside of the United States and 4% were foreign born.