Can a Muslim keep a dog?

It depends. Keeping a dog for guarding, herding, hunting or assistance is permitted in all schools. Keeping one purely as a pet is discouraged by the hadith, and the schools also differ on how impure a dog is.

Depends · Everyday life · From the Halal or Not? rulebook, checked 28 September 2026

The views, and who holds them

Held byVerdictReasoning
MalikiMakruh (disliked)The dog, including its saliva, is pure. Keeping one purely as a pet is disliked; some Maliki scholars permit it.
HanafiMakruh (disliked)The dog itself is not impure, but its saliva is. Keeping one without a purpose is disliked.
Shafi'i and HanbaliHaramThe dog is impure (anything touched by its saliva is washed seven times, once with earth), and keeping one without a need is prohibited.

Worth knowing

Quick answers

Can a Muslim keep a dog?
It depends. Keeping a dog for guarding, herding, hunting or assistance is permitted in all schools. Keeping one purely as a pet is discouraged by the hadith, and the schools also differ on how impure a dog is.
Who holds that it is makruh (disliked)?
Maliki: The dog, including its saliva, is pure. Keeping one purely as a pet is disliked; some Maliki scholars permit it. Hanafi: The dog itself is not impure, but its saliva is. Keeping one without a purpose is disliked.
Who holds that it is haram?
Shafi'i and Hanbali: The dog is impure (anything touched by its saliva is washed seven times, once with earth), and keeping one without a need is prohibited.

Sources

Information, not a fatwa. Where scholars differ, this shows the main views so you can follow the one you already follow or ask a scholar you trust.

Ask Halal or Not? yourself

Ask any everyday question, or check a stock, fund, coin or medicine, and see where the scholars agree and differ. Open Halal or Not?, free, no sign-up.

In Claude or any app that takes MCP connectors, add https://goodturn-mcp.pages.dev/halalornot/mcp and ask: “Can a Muslim keep a dog?”

More on everyday life