Giving Payroll
Who we arePayroll & pricingWhy Giving?Our PartnersPayNonprofits™GivingHR+ NEW
HR+Login
Field NotesMOSQUE PAYROLL

To the IRS, an imam is paid like a pastor.

The tax code was written with a lot of steeples in mind. Its rules still fit a mosque once you translate the vocabulary.

May 13, 2026. Rewritten November 16, 2026, with every source checked again.

Does the IRS treat an imam differently from a pastor? For payroll, mostly not. The words are different, and a few of the questions take more care, but the rules are the same rules.

The short version

  • To the IRS a mosque is a church: exempt without applying, and free of federal unemployment tax.
  • An imam who meets the minister test is an employee for income tax and self-employed for Social Security and Medicare.
  • The housing allowance works as it does for a pastor, and the board designates it before it is paid.

A mosque is a church, as far as the tax code is concerned

The IRS uses church as a general word for a place of worship. Its guide for churches says so, and names mosques and synagogues as examples. That has three practical results for a mosque:

  • It is exempt without applying. The IRS lists churches, including synagogues, temples and mosques, among the organizations that do not have to file Form 1023. Many apply anyway, so donors can see in writing that their gifts are deductible.
  • It does not pay federal unemployment tax. Churches and religious organizations are not liable for it.
  • Its clergy are paid under the minister rules, if they meet them. That is the next question.

The words are different, and a few of the questions take more care, but the rules are the same rules.

Is your imam a minister for tax purposes?

The IRS's test is written in Christian vocabulary, but it does not name a faith. Ministers are people who are duly ordained, commissioned or licensed by a religious body, with the authority to conduct religious worship and perform its rites. Someone licensed or commissioned has to be able to perform substantially all the religious functions an ordained minister would.

Many mosques do not ordain anyone in the way a denomination does. An imam may be appointed by the community, or recognized for their learning. Whether that meets the test depends on the facts, and the IRS's guide for clergy does not give an example for every tradition. So write down how your imam was appointed, by whom, and what they do: leading prayer, giving the Friday sermon, performing marriages and funerals. Then ask your accountant. If the answer is no, the imam is an ordinary employee and none of the rest of this applies.

Two tax lives for one person

If the imam is a minister under the rules, they live two tax lives at once. For income tax, an imam employed by the mosque is usually an employee and gets a W-2. For Social Security and Medicare, the same imam doing the same work is treated as self-employed.

  • You do not withhold Social Security or Medicare from the imam's pay, and you do not pay the employer's half.
  • The imam pays self-employment tax on their own return instead.
  • You are not required to withhold income tax, but the imam can ask you to. Many do, and it saves an unpleasant April.

The housing allowance, whatever you call it

The tax code calls it a parsonage or rental allowance. It works the same at a mosque. An imam who is a minister can leave a housing allowance out of income for income tax, to the extent it is spent on providing a home. If the mosque provides the home instead, its fair rental value is treated the same way.

The board has to designate the allowance by official action before it is paid. The amount left out of income is the smallest of what was designated, what was really spent on the home, and the home's fair rental value with furnishings and utilities, and it cannot be more than reasonable pay for the work. The allowance still counts for self-employment tax.

Everyone else on staff

The office manager, the weekend school teachers, the custodian and the bookkeeper are ordinary employees. You withhold income tax, Social Security and Medicare from their pay and pay the employer's share, the same as any employer. A title does not change that. A Quran teacher who is not a minister under the rules is paid like any other teacher.

Opting out of Social Security

A minister who is opposed, on religious grounds or by conscience, to public insurance can apply on Form 4361 to be exempt from self-employment tax on ministerial earnings. It cannot be requested for economic reasons, and once it is granted it cannot be undone. It is due by the filing date of the return for the second year with at least $400 of net self-employment earnings, some of it from ministry. That is a decision for the imam and their tax preparer, not the payroll office, but we need to know when one is on file.

What we will ask

Who is paid and how often. Whether the imam is a minister under the rules, and what your accountant said. The board's housing allowance designation, dated before the first payment. Whether the imam wants income tax withheld. What state you are in.

The W-2 boxes and the rest of the clergy rules are in church payroll for every house of worship. Giving Payroll runs payroll for mosques and other houses of worship through ADP and SurePayroll, with one account manager who knows your community and prices published up front.

Sources: IRS, Publication 1828, Tax Guide for Churches and Religious Organizations; IRS, Publication 517, Social Security and Other Information for Members of the Clergy and Religious Workers (for 2025 returns); IRS, Topic no. 417, Earnings for clergy; IRS, Organizations not required to file Form 1023. Read November 16, 2026.

This article is general information, not tax or legal advice. Rules vary by state and situation, so check yours with your accountant or attorney.

Talk to a payroll person. 877-245-0345 or sales@givingpayroll.com. Prices are on the home page.

KEEP READINGChurch payroll for every house of worship, and we do mean everyBeyond the bimah: five synagogue payroll mythsRobes, rituals and retirement: why we run payroll for every 501(c)(3)

In this post

  1. A mosque is a church, as far as the tax code is concerned
  2. Is your imam a minister for tax purposes?
  3. Two tax lives for one person
  4. The housing allowance, whatever you call it
  5. Everyone else on staff
  6. Opting out of Social Security
  7. What we will ask

Questions about your payroll?

877-245-0345See our prices
Giving Payroll
Payroll pricingGivingHR+Managed servicesContactField NotesTermsPrivacy
© 2026 Giving PayrollGiving great service. Giving great pricing. Giving great payroll.