system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry Potter] If magic suddenly ceased to work in the world where would that leave the wizarding community and how might they adjust to the new paradigm?
gpt
Grief Counseling Services Contractor here!

What you're suggesting here would be tantamount to us muggles losing electricity. Their entire civilization is founded on the principles of magic. Many fundamental services and goods are rooted in magic (think transportation, communication, construction, protection, banking). On top of that, wizards that are not directly connected to the muggle world tend to have very little knowledge of it. With that in mind, we would basically see the wizarding world split into two primary factions: those who can integrate and those who cannot.

The people who can integrate comfortably with muggle society will be mostly fine. Many of them already hold muggle jobs, or are at least educated enough to survive. Expat wizards higher up in muggle society (government officials and the like) will be able help their family, friends, and close acquaintances with the integration process, minimizing the impact on their lives as much as possible. It would take a number of years, but by the second or third generation, these folks will be fully integrated and will not feel the sting of loss.

The other side will have a much, much harder time. They've lost their way of life. Some will suicide at the prospect of having such a radical shift in their lifestyle. Some will actually go insane. Some will try to cling to their old lives and die. Some are in dangerous places that were otherwise protected by magic, or that they could easily magic themselves away from, and they will also die. There will be riots, and others will be killed or hurt.

Those who survive the initial hellstorm have a difficult prospect in front of them. Try to merge with a society they never had any interest in being a part of (and may hold in contempt), or cling desperately to the old ways. Again, many of these wizards have no marketable skills outside of wizarding society. What does the world need with a Floo Network inspector? Or a wandmaker? Or even a seamstress?

The most hardcore base will struggle to find and fix the missing magic. Your question seems to preclude that possibility, so we assume they spend years and years, become a secret society as membership dwindles from people losing faith, and eventually most of the old ways will be lost as their knowledge turns into legend.