Police on Monday did not publicly identify any of the victims at the Abundant Life Christian School, a private institution that teaches some 400 students from kindergarten through 12th grade.
At least six other people were wounded, according to police. Two students had life-threatening injuries; four other people had injuries that were not life-threatening.
Students walk as they leave shelter following a shooting at the Abundant Life Christian School. (AP PHOTO)
The shooter, a student at the school who used a handgun, was found dead inside the school by officers who immediately entered campus upon arrival, police said. They declined to identify the shooter by name, age or gender.
No officers fired their weapons, police said.
There was as yet no known motive for the violence, which authorities said took place in one space inside the school. The shooter's family was cooperating with the investigation, police said.
Madison Police Chief Shon Barnes, a former public school history teacher, said the shooting took place just before 11am on Monday.
"Today is a sad, sad day, not only for Madison, but for our entire country, where yet another police chief is doing a press conference to speak about violence in our community," Barnes told reporters.
"Every child, every person in that building, is a victim, and will be a victim forever. These types of trauma don't just go away," Barnes said.
There have been 322 school shootings this year in the US, according to the K-12 School Shooting Database website. That is the second-highest total of any year since 1966, according to that database - topped only by 2023's total of 349 such shootings.
At least six other people were wounded in the Abundant Life Christian School shooting. (AP PHOTO)
In 2022, President Joe Biden signed into law the first major federal gun reform in three decades, about a month after an 18-year-old man opened fire at Robb Elementary School in Uvalde, Texas, killing 19 students and two teachers.
The Wisconsin shooting took place 12 years and two days after one of the most notorious school shootings in US history: the massacre at Sandy Hook Elementary School in Newtown, Connecticut. A 20-year-old man armed with a semiautomatic rifle killed 20 school children ages six and seven, plus six adults who worked at the school.
Polling shows American voters favour stronger background checks on gun buyers, temporary limits on people in crisis and more safety requirements for gun storage at homes with children. Yet political leaders have largely declined to act, citing the US constitutional protection for gun owners.