If you have ever wondered why two halal stock apps disagree about whether Hilton or Marriott is permissible, the answer almost always traces back to a single document: AAOIFI Standard 21. It is the most-cited screening framework for evaluating listed equities under Islamic commercial law. It is also poorly understood outside the Islamic finance community. This post walks through what AAOIFI Standard 21 actually says, the four tests it imposes, and the places where different implementations disagree.
If you want the broader context (halal investing vs Islamic finance, scholar disagreements, beginner checklist) the companion piece is /blog/complete-guide-halal-investing-2026/.
What AAOIFI is and why this standard matters
AAOIFI - the Accounting and Auditing Organization for Islamic Financial Institutions - is a Bahrain-based standard-setting body for Islamic finance, founded in 1991. Its standards are voluntarily adopted by central banks in over 40 jurisdictions including Saudi Arabia, the UAE, Pakistan, Malaysia, Sudan, and Syria. Its Shariah Standards (currently 60+ documents covering everything from murabaha contracts to zakat calculation) are the closest thing to a global authoritative reference in institutional Islamic finance.
Standard 21 specifically governs "Financial Papers (Shares and Bonds)" - what a Shariah-compliant investor can and cannot own in the listed-equity universe. It is the institutional benchmark referenced by most large Islamic asset managers, by Sukuk arrangers, and by Shariah supervisory boards across the industry.
Why this matters for retail Muslim investors: most retail halal apps (Zoya, Wahed, Musaffa, IdealRatings) reference AAOIFI Standard 21 either directly or via a derived methodology. The screen invest-like.com applies is also AAOIFI Standard 21. When you understand what Standard 21 says, you can audit any halal-screening tool's output against the document itself rather than trust a black-box label.
The four tests
Every AAOIFI-compliant screen runs the same four tests in sequence. A stock must pass all four to be marked Shariah-compliant.
Test 1 - Primary business
The company's core business cannot be in a prohibited category. The AAOIFI Standard 21 exclusion list:
- Conventional banking and lending: interest-based by structural design, the cleanest application of the riba prohibition. Banks earn the majority of their income from interest on loans; this is structurally impermissible regardless of how well-managed the bank is.
- Conventional insurance: combines riba (interest on the investment float) with gharar (excessive uncertainty in the policy structure). Islamic insurance alternatives (takaful) use a mutual-risk pool structure that is permissible; conventional insurance is not.
- Alcohol: production, distribution, and major retail. Indirect involvement (a hotel chain selling alcohol via its bars and minibars) is also problematic, though the threshold for excluding such companies is judged separately under the non-permissible income test.
- Tobacco: producers and major distributors.
- Pork and non-halal meat: producers and processors. Indirect involvement (a grocery chain selling pork) is judged under the non-permissible income test.
- Gambling: casinos, betting platforms, lottery operators, sports books, gaming companies. The maysir prohibition is broad and covers gambling-like structured products even outside formal casinos.
- Adult entertainment: production, distribution. Most major streaming platforms and entertainment conglomerates fail this test indirectly because their content libraries include R-rated material.
- Conventional weapons: producers of munitions and offensive weapons systems. Most scholars allow non-offensive defence work, though the line is contested.
- Cannabis: producers and distributors, medical and recreational.
The exclusion is on the primary business. A company that earns a small fraction of revenue from a tangentially-related impermissible activity can still pass this test, provided the non-permissible income ratio (test 3) is also satisfied.
Test 2 - Interest-bearing debt ratio
The mathematical core of Standard 21:
Interest-bearing debt / 36-month average market capitalisation < 30%
AAOIFI uses 30 percent as the threshold. Other standards differ: Dow Jones Islamic Market Index uses 33 percent; some older frameworks used 25 percent. AAOIFI's 30 percent is the stricter institutional position.
Why the 36-month average market cap? It dampens the effect of short-term price volatility. A stock that briefly dropped 50 percent and recovered would otherwise see its debt ratio spike artificially during the dip. Using a 36-month average gives a more stable economic snapshot.
What counts as interest-bearing debt: bonds outstanding, term loans, revolving credit facility drawings, lease liabilities (under newer accounting standards), and any other financial liability that accrues interest. Trade payables and operating leases under older accounting are typically excluded.
In practice, this test is the gate that determines whether large-cap consumer-discretionary and industrial names pass. A company with 25 percent debt ratio passes; at 31 percent it is borderline; at 41 percent it is non-compliant.
Test 3 - Non-permissible income
Income from non-permissible sources / total income < 5%
Examples of non-permissible income that can show up in otherwise-halal companies:
- Interest income earned on cash holdings (almost every large-cap public company has this)
- Revenue from a non-halal subsidiary (a software conglomerate that also has a gambling-platform sub)
- Lease income from a property let to a non-halal tenant (a REIT renting space to a casino)
- Service revenue from clients in haram industries (a marketing firm with a major tobacco client)
The 5 percent threshold is the AAOIFI institutional standard. Below 5 percent: passing, but the investor is expected to purify the corresponding fraction of dividends - i.e. donate that portion of received dividends to charity. Above 5 percent: non-compliant.
In practice, this test is the hardest to apply mechanically because most companies do not voluntarily disclose haram revenue at the segment level. A hotel chain rarely breaks out "Bar and Alcohol Revenue" as a segment line; it is usually bundled into "Food and Beverage" or "Hotel, Owned." When segment disclosure exists (some retailers, some conglomerates), the test runs cleanly. When it does not, screening tools fall back to ticker-level overrides based on Islamic-index provider consensus.
invest-like.com's implementation: runs the segment-level test where data is available, plus uses ticker-level overrides (Hilton, Marriott, Hyatt, IHG, Netflix, Disney, Comcast etc.) for cases where the company likely fails but does not disclose haram revenue cleanly.
Test 4 - Liquid assets ratio
(Cash + interest-bearing securities + receivables) / market cap < 30%
The least-discussed AAOIFI test, but the most important for ruling out the "cash-pile" failure mode. A company sitting on so much cash that its primary economic activity is collecting interest on that cash is structurally not a productive business - it is a money-market fund with an operating sideline.
Classic example: Apple's cash pile during the early 2010s was so large that some scholars argued it failed this test, even though Apple's primary business (hardware + software services) was structurally halal-compatible.
invest-like.com's v1 implementation: documents this test but does not yet automate it. The reason is data quality - reliable cash + receivables + interest-bearing securities data is not consistently available for the full 12,000+ universe. On the roadmap.
Where implementations diverge
Even given the same AAOIFI Standard 21 document, halal-screening tools can produce different verdicts on the same stock. Common sources of divergence:
Source 1 - Definition of "interest-bearing debt". Some implementations include lease liabilities under IFRS 16 / ASC 842; others use only the older long-term debt definition. The difference can move a stock by 5-10 percentage points on the ratio.
Source 2 - Definition of "non-permissible income". Some implementations only flag explicit haram-named segments (Casino Operations, Wine and Spirits); others apply broader heuristics (any "Financial Services" segment, any "Entertainment" segment with content age-rating data). Stricter implementations exclude more stocks.
Source 3 - Treatment of subsidiaries. A parent company that owns a non-halal subsidiary: do you count the subsidiary's revenue/assets as part of the parent for the screen, or treat them separately? AAOIFI's position is to consolidate; some derived screens diverge.
Source 4 - Ticker-level overrides. Different tool providers have different lists of "specifically excluded" tickers beyond what their automated screen catches. The major Islamic-index providers (Dow Jones Islamic, S&P Shariah, MSCI Islamic) publish their constituent lists; smaller tools sometimes diverge.
When two halal apps disagree about a stock, source 4 (ticker overrides) is the most-common explanation. Source 1 (debt definition) is second.
What invest-like.com does (mechanically)
The invest-like.com halal screen runs at each quarterly recompute cycle:
-
Activity screen: industry classification (FMP industry string) checked against a 30+ industry exclusion set (banks, insurance, alcohol, tobacco, gambling, credit, mortgage REITs, etc.). Plus ticker-level overrides for known FMP misclassifications (Visa and Mastercard pardoned from "Financial - Credit Services"; Netflix and Disney explicitly excluded from "Entertainment" for content reasons).
-
Debt ratio screen: long-term debt / market cap. Below 30 percent: compliant. 30-40 percent: borderline. Above 40 percent: non-compliant.
-
Non-permissible income screen: where segment-level revenue data is available, sums all segments matching a haram-keyword list (alcohol, casino, tobacco, lottery, betting, interest income) and divides by total revenue. Above 5 percent fails; 2-5 percent flags borderline with the expectation of dividend purification.
-
Liquid assets screen: documented but not yet automated (v1 limitation).
The per-stock result lives at /halal/[ticker]/ with the test-by-test breakdown. The site-wide compliant universe is at /halal/. The methodology is at /methodology/halal/.
Common questions about AAOIFI Standard 21
Is AAOIFI universally accepted? It is the most-widely-accepted institutional standard. It is not universally accepted - different madhhabs (Hanafi, Maliki, Shafi'i, Hanbali) sometimes have slightly different rulings, and individual scholars may use different thresholds. Treat AAOIFI as the institutional default that 80 percent of Muslim institutional money tracks.
Why does AAOIFI use 30 percent debt and not zero? Pragmatic. A zero-debt threshold would exclude almost every public company including most halal-eligible Islamic banks themselves (which have some interest-bearing customer deposits). The 30 percent threshold tries to draw a line at "interest-bearing financing is incidental to the business, not foundational."
Can I follow AAOIFI without a Muslim scholar? Mechanically yes - the four tests are deterministic given the input data. But the spirit of the standard is for it to be applied alongside scholarly counsel for edge cases. If you're deploying meaningful capital and have access to a scholar or Islamic finance professional, use the screen as input and the scholar as final judgment.
What if my madhhab uses different thresholds? Document which standard you're following and apply it consistently. Some Shafi'i and Hanbali scholars apply stricter thresholds (zero non-permissible income, lower debt cap); some apply looser thresholds (matching DJII). The screen is a tool; your madhhab is the framework.
Where to read AAOIFI Standard 21 directly
AAOIFI publishes its Shariah Standards in both Arabic and English. The standards collection is available from AAOIFI's website at aaoifi.com. Standard 21 specifically deals with "Financial Papers (Shares and Bonds)." The cost for the full Shariah Standards bound volume is approximately $200-300, which is the institutional reference for any serious halal-investing practitioner.
For the retail investor who does not want to buy the volume: the four tests above are the practical core. The full document adds detail on edge cases, contract structures, and Sukuk (Islamic bond) screening that does not bear on listed equity screening.
Further reading on invest-like.com
Educational only. Not investment advice. This article is an explainer of the AAOIFI Standard 21 framework, not a fatwa. If your scholar or madhhab uses different guidance, follow that guidance.