Panama is a village in Montgomery and Bond counties, Illinois, United States. The population was 343 at the 2010 census.