Madison County is a county located in the U.S. state of Idaho. As of the 2020 census, the population was 52,913. The county seat and largest city is Rexburg. Madison County is part of the Rexburg, Idaho micropolitan area, which is also included in the Idaho Falls metropolitan area.