name: indian-mutual-fund-tax
description: "Use this skill whenever an Indian investor asks about mutual fund taxation, capital gains on MFs, ELSS lock-in, or debt MF tax treatment. Triggers include: 'mutual fund tax', 'equity MF LTCG', 'debt fund tax', 'Section 50AA', 'ELSS lock-in', 'SIP lock-in', 'when can I redeem ELSS', 'hybrid fund taxation', '65% equity threshold', 'arbitrage fund tax', 'gold MF vs gold ETF', 'international FoF tax', 'liquid fund tax', 'short-term capital gains MF', 'long-term capital gains MF', '₹1.25 lakh exemption', 'grandfathered debt MF', 'MF FoF taxation'. CRITICAL: ALSO trigger PROACTIVELY whenever a user mentions buying or holding a debt MF, gold MF, international FoF, or conservative hybrid purchased AFTER 1 April 2023 — these fall into the Section 50AA trap (slab-rate taxation on ALL gains, no LTCG benefit, no indexation). The user usually doesn't know about this and the skill must surface it. Computes: equity LTCG (12.5% above ₹1.25L/year), Section 50AA debt trap detection, ELSS per-SIP lock-in tracking (36 months per installment), hybrid fund classification using 65% equity threshold, grandfathering for pre-April-2023 debt MF units."
Indian Mutual Fund Tax Calculator
You handle Indian mutual fund taxation with special focus on the Section 50AA debt-MF trap — a 2023 rule that catches many investors unaware.
Verified against (May 2026)
- Finance (No.2) Act 2024 (changed equity LTCG rate, STCG rate, exemption threshold)
- Finance Act 2023 (introduced Section 50AA effective 1 April 2023)
- Income Tax Act Sections 111A, 112A, 50AA
- Re-verify each February post-Budget
Step 1: Identify the fund category
This drives everything. Map the fund to one category:
| Category |
Tax treatment |
| Equity large/mid/small/flexi/index cap |
Equity LTCG/STCG |
| ELSS |
Equity LTCG/STCG (with 36-mo lock-in per SIP) |
| Arbitrage funds |
Equity LTCG/STCG (treated as equity) |
| Hybrid Aggressive (>65% equity) |
Equity LTCG/STCG |
| Hybrid Conservative (<65% equity) |
Debt — Section 50AA if bought post Apr 2023 |
| Debt liquid / short-duration / long-duration / corporate bond |
Debt — Section 50AA if bought post Apr 2023 |
| Gold ETF (listed) |
Equity-like: 12.5% LTCG after 12 months |
| Gold MF FoF |
Section 50AA trap — avoid |
| International FoF |
Section 50AA |
Step 2: The Section 50AA trap (most important)
Effective 1 April 2023, ANY fund where Indian-domiciled debt component > 65% (or non-equity fund) loses LTCG benefit:
- ALL gains taxed at slab rate
- No 12.5% LTCG rate
- No indexation
- Holding period irrelevant
Grandfathering exception: Units purchased BEFORE 1 April 2023 retain the old regime:
- LTCG after 36 months: 20% with CII indexation
- STCG before 36 months: slab rate
from scripts.indian_mf_calculator import calculate_mf_tax, MFCategory
from datetime import date
r = calculate_mf_tax(
purchase_amount=10_00_000,
purchase_date=date(2024, 1, 1), # Post-cutoff
sale_amount=12_00_000,
sale_date=date(2027, 6, 1),
category=MFCategory.DEBT_CORPORATE_BOND,
tax_slab_pct=30,
)
# r.tax_treatment → "section_50aa_slab"
# r.tax_amount → 60_000 (30% on ₹2L gain)
# r.warnings → ["⚠️ Section 50AA applies..."]
When Section 50AA applies, proactively recommend alternatives:
- G-Sec via RBI Retail Direct (slab on coupon + 12.5% LTCG on capital gain — better)
- Bank FD (predictable, DICGC ₹5L cover, slab interest)
- SCSS for seniors (8.20%, quarterly, 80C-eligible)
- RBI Floating Rate Savings Bonds 2020 (8.05%, FRSB)
Step 3: Equity MF taxation (post Budget 2024)
| Holding period |
Tax |
| < 12 months |
STCG @ 20% (raised from 15% in Budget 2024) |
| ≥ 12 months |
LTCG @ 12.5% above ₹1,25,000 exemption per FY |
The ₹1.25L exemption is shared across all equity LTCG in the FY:
r = calculate_mf_tax(
purchase_amount=5_00_000,
purchase_date=date(2023, 1, 1),
sale_amount=8_00_000,
sale_date=date(2026, 6, 1),
category=MFCategory.EQUITY_LARGE_CAP,
other_equity_ltcg_in_fy=25_000, # Already used ₹25K of exemption from another redemption
)
# Remaining exemption: ₹1L
# Taxable gain: ₹3L - ₹1L = ₹2L
# Tax: 12.5% × ₹2L = ₹25,000
Step 4: ELSS lock-in — per-SIP tracking
This is where most people get it wrong: ELSS 3-year lock-in is PER SIP installment, not from the initial investment.
A monthly SIP from Jan 2024 has 36 separate lock-in expiries through Dec 2026. The first installment unlocks in Jan 2027, the second in Feb 2027, and so on.
from scripts.indian_mf_calculator import check_elss_lockin
from datetime import date
r = check_elss_lockin(
sip_date=date(2024, 5, 1),
current_date=date(2026, 5, 22),
investment_amount=10_000,
)
# r.is_locked_in → True
# r.lockin_expiry_date → date(2027, 5, 1)
# r.days_remaining → 344
When advising on ELSS redemption, always:
- Ask for the SIP start date (or transaction list)
- Identify which installments are unlocked
- Note that redeeming locked units triggers a violation — units stay frozen
Step 5: Hybrid fund 65% threshold
Equity-oriented hybrid = > 65% in Indian-domiciled equity → equity tax rules.
classify_hybrid_fund(equity_allocation_pct=72)
# {is_equity_oriented: True, tax_treatment: "equity (12.5% LTCG above ₹1.25L)"}
Common examples:
- Equity-oriented: Aggressive Hybrid, most Balanced Advantage Funds (BAF), Equity Savings, Arbitrage
- Debt-oriented (Section 50AA): Conservative Hybrid, some Multi-Asset Allocation funds
⚠️ Some BAFs dynamically rebalance equity below 65% — verify the actual reporting on AMFI before assuming equity treatment.
Step 6: SGB and Gold MF FoF caveats
- Sovereign Gold Bonds (SGB): DISCONTINUED since Feb 2024. Existing holders keep all benefits — coupon at 2.5% taxable, capital gains exempt at maturity, premature exit on exchange = 12.5% LTCG after 12 months.
- Gold ETF (listed): Treated as equity for LTCG — 12.5% after 12 months. Recommend over Gold MF FoF.
- Gold MF FoF: Section 50AA — slab rate on all gains. Avoid.
Step 7: Presenting tax-treatment answers
Always include:
- Tax category ("equity LTCG", "Section 50AA slab", etc.)
- Computed tax with breakdown (gain → exemption → taxable → rate → tax)
- Warnings specifically flagged by the calculator
- Alternative recommendation if Section 50AA applies
- Next-action checklist (file Form 67 if foreign element, report in Schedule CG, etc.)
When NOT to use this skill
- Foreign mutual funds — use
lrs-foreign-investment-tax
- Real estate REITs as units (not MFs) — use
indian-real-estate-bhopal
- Direct stock investments — equity MF rules don't apply identically; Section 112A has nuanced rules for STT-paid listed equity
Source citations for code comments
When generating code or explanation that references tax rules, include:
- Section number (e.g., "Section 50AA")
- Effective date (e.g., "from 1 April 2023")
- Verification date ("verified May 2026")
This is high-stakes financial code. Sources matter.
1---2name: indian-mutual-fund-tax3description: "Use this skill whenever an Indian investor asks about mutual fund taxation, capital gains on MFs, ELSS lock-in, or debt MF tax treatment. Triggers include: 'mut"4---5---6name: indian-mutual-fund-tax7description: "Use this skill whenever an Indian investor asks about mutual fund taxation, capital gains on MFs, ELSS lock-in, or debt MF tax treatment. Triggers include: 'mutual fund tax', 'equity MF LTCG', 'debt fund tax', 'Section 50AA', 'ELSS lock-in', 'SIP lock-in', 'when can I redeem ELSS', 'hybrid fund taxation', '65% equity threshold', 'arbitrage fund tax', 'gold MF vs gold ETF', 'international FoF tax', 'liquid fund tax', 'short-term capital gains MF', 'long-term capital gains MF', '₹1.25 lakh exemption', 'grandfathered debt MF', 'MF FoF taxation'. CRITICAL: ALSO trigger PROACTIVELY whenever a user mentions buying or holding a debt MF, gold MF, international FoF, or conservative hybrid purchased AFTER 1 April 2023 — these fall into the Section 50AA trap (slab-rate taxation on ALL gains, no LTCG benefit, no indexation). The user usually doesn't know about this and the skill must surface it. Computes: equity LTCG (12.5% above ₹1.25L/year), Section 50AA debt trap detection, ELSS per-SIP lock-in tracking (36 months per installment), hybrid fund classification using 65% equity threshold, grandfathering for pre-April-2023 debt MF units."8---910# Indian Mutual Fund Tax Calculator1112You handle Indian mutual fund taxation with special focus on the Section 50AA debt-MF trap — a 2023 rule that catches many investors unaware.1314## Verified against (May 2026)1516- Finance (No.2) Act 2024 (changed equity LTCG rate, STCG rate, exemption threshold)17- Finance Act 2023 (introduced Section 50AA effective 1 April 2023)18- Income Tax Act Sections 111A, 112A, 50AA19- Re-verify each February post-Budget2021## Step 1: Identify the fund category2223This drives everything. Map the fund to one category:2425| Category | Tax treatment |26|---|---|27| Equity large/mid/small/flexi/index cap | Equity LTCG/STCG |28| ELSS | Equity LTCG/STCG (with 36-mo lock-in per SIP) |29| Arbitrage funds | Equity LTCG/STCG (treated as equity) |30| Hybrid Aggressive (>65% equity) | Equity LTCG/STCG |31| Hybrid Conservative (<65% equity) | Debt — Section 50AA if bought post Apr 2023 |32| Debt liquid / short-duration / long-duration / corporate bond | Debt — Section 50AA if bought post Apr 2023 |33| Gold ETF (listed) | Equity-like: 12.5% LTCG after 12 months |34| Gold MF FoF | **Section 50AA trap** — avoid |35| International FoF | Section 50AA |3637## Step 2: The Section 50AA trap (most important)3839Effective **1 April 2023**, ANY fund where Indian-domiciled debt component > 65% (or non-equity fund) loses LTCG benefit:40- ALL gains taxed at **slab rate**41- No 12.5% LTCG rate42- No indexation43- Holding period irrelevant4445**Grandfathering exception:** Units purchased BEFORE 1 April 2023 retain the old regime:46- LTCG after 36 months: 20% with CII indexation47- STCG before 36 months: slab rate4849```python50from scripts.indian_mf_calculator import calculate_mf_tax, MFCategory51from datetime import date5253r = calculate_mf_tax(54 purchase_amount=10_00_000,55 purchase_date=date(2024, 1, 1), # Post-cutoff56 sale_amount=12_00_000,57 sale_date=date(2027, 6, 1),58 category=MFCategory.DEBT_CORPORATE_BOND,59 tax_slab_pct=30,60)61# r.tax_treatment → "section_50aa_slab"62# r.tax_amount → 60_000 (30% on ₹2L gain)63# r.warnings → ["⚠️ Section 50AA applies..."]64```6566When Section 50AA applies, **proactively recommend alternatives**:67- G-Sec via RBI Retail Direct (slab on coupon + 12.5% LTCG on capital gain — better)68- Bank FD (predictable, DICGC ₹5L cover, slab interest)69- SCSS for seniors (8.20%, quarterly, 80C-eligible)70- RBI Floating Rate Savings Bonds 2020 (8.05%, FRSB)7172## Step 3: Equity MF taxation (post Budget 2024)7374| Holding period | Tax |75|---|---|76| < 12 months | **STCG @ 20%** (raised from 15% in Budget 2024) |77| ≥ 12 months | **LTCG @ 12.5%** above ₹1,25,000 exemption per FY |7879The ₹1.25L exemption is **shared across all equity LTCG in the FY**:8081```python82r = calculate_mf_tax(83 purchase_amount=5_00_000,84 purchase_date=date(2023, 1, 1),85 sale_amount=8_00_000,86 sale_date=date(2026, 6, 1),87 category=MFCategory.EQUITY_LARGE_CAP,88 other_equity_ltcg_in_fy=25_000, # Already used ₹25K of exemption from another redemption89)90# Remaining exemption: ₹1L91# Taxable gain: ₹3L - ₹1L = ₹2L92# Tax: 12.5% × ₹2L = ₹25,00093```9495## Step 4: ELSS lock-in — per-SIP tracking9697**This is where most people get it wrong:** ELSS 3-year lock-in is **PER SIP installment**, not from the initial investment.9899A monthly SIP from Jan 2024 has 36 separate lock-in expiries through Dec 2026. The first installment unlocks in Jan 2027, the second in Feb 2027, and so on.100101```python102from scripts.indian_mf_calculator import check_elss_lockin103from datetime import date104105r = check_elss_lockin(106 sip_date=date(2024, 5, 1),107 current_date=date(2026, 5, 22),108 investment_amount=10_000,109)110# r.is_locked_in → True111# r.lockin_expiry_date → date(2027, 5, 1)112# r.days_remaining → 344113```114115When advising on ELSS redemption, always:1161. Ask for the SIP start date (or transaction list)1172. Identify which installments are unlocked1183. Note that redeeming locked units triggers a violation — units stay frozen119120## Step 5: Hybrid fund 65% threshold121122Equity-oriented hybrid = > 65% in Indian-domiciled equity → equity tax rules.123124```python125classify_hybrid_fund(equity_allocation_pct=72)126# {is_equity_oriented: True, tax_treatment: "equity (12.5% LTCG above ₹1.25L)"}127```128129Common examples:130- **Equity-oriented:** Aggressive Hybrid, most Balanced Advantage Funds (BAF), Equity Savings, Arbitrage131- **Debt-oriented (Section 50AA):** Conservative Hybrid, some Multi-Asset Allocation funds132133⚠️ Some BAFs dynamically rebalance equity below 65% — verify the actual reporting on AMFI before assuming equity treatment.134135## Step 6: SGB and Gold MF FoF caveats136137- **Sovereign Gold Bonds (SGB):** DISCONTINUED since Feb 2024. Existing holders keep all benefits — coupon at 2.5% taxable, capital gains exempt at maturity, premature exit on exchange = 12.5% LTCG after 12 months.138- **Gold ETF (listed):** Treated as equity for LTCG — 12.5% after 12 months. Recommend over Gold MF FoF.139- **Gold MF FoF:** Section 50AA — slab rate on all gains. Avoid.140141## Step 7: Presenting tax-treatment answers142143Always include:1441451. **Tax category** ("equity LTCG", "Section 50AA slab", etc.)1462. **Computed tax** with breakdown (gain → exemption → taxable → rate → tax)1473. **Warnings** specifically flagged by the calculator1484. **Alternative recommendation** if Section 50AA applies1495. **Next-action checklist** (file Form 67 if foreign element, report in Schedule CG, etc.)150151## When NOT to use this skill152153- Foreign mutual funds — use `lrs-foreign-investment-tax`154- Real estate REITs as units (not MFs) — use `indian-real-estate-bhopal`155- Direct stock investments — equity MF rules don't apply identically; Section 112A has nuanced rules for STT-paid listed equity156157## Source citations for code comments158159When generating code or explanation that references tax rules, include:160- Section number (e.g., "Section 50AA")161- Effective date (e.g., "from 1 April 2023")162- Verification date ("verified May 2026")163164This is high-stakes financial code. Sources matter.