The Ministry of Magic is the government of the British wizarding community in the fictional universe of Harry Potter for Britain and Ireland.