v3.25.4

Loans Held for Investment and Allowance for Credit Losses - Schedule of Allowance for Credit Loss (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2025 | Dec. 31, 2024
Financing Receivable, Allowance for Credit Loss [Roll Forward] |  |  |  |
Balance at beginning of period | $ 425,801 | $ 350,606 | $ 396,929 | $ 309,097
Provision for loan losses | 208,175 | 147,069 | 364,579 | 301,874
Charge-offs | (171,864) | (142,912) | (316,459) | (264,360)
Recoveries of charged-off receivables | 15,991 | 9,068 | 33,054 | 17,220
Balance at end of period | $ 478,103 | $ 363,831 | $ 478,103 | $ 363,831

X
- Definition Financing Receivable, Excluding Accrued Interest, Credit Loss, Expense (Reversal), Excluding Certain Provisions + References No definition available. + Details
Name: | afrm_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversalExcludingCertainProvisions
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount excluding accrued interest, of allowance for credit loss on financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, excluding accrued interest, of increase in allowance for credit loss on financing receivable from recovery. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, excluding accrued interest, of decrease in allowance for credit loss on financing receivable from writeoff. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration