0001299709 2016-07-01 2017-06-30 0001299709 us-gaap:FairValueMeasurementsRecurringMember 2016-07-01 2017-06-30 0001299709 us-gaap:FairValueMeasurementsNonrecurringMember 2016-07-01 2017-06-30 0001299709 2017-08-17 0001299709 2016-12-31 0001299709 2017-06-30 0001299709 2016-06-30 0001299709 us-gaap:SeriesAPreferredStockMember 2017-06-30 0001299709 us-gaap:SeriesAPreferredStockMember 2016-06-30 0001299709 2015-11-17 2015-11-17 0001299709 2015-07-01 2016-06-30 0001299709 2014-07-01 2015-06-30 0001299709 2015-11-17 0001299709 us-gaap:AdditionalPaidInCapitalMember 2017-06-30 0001299709 us-gaap:RetainedEarningsMember 2016-06-30 0001299709 us-gaap:AdditionalPaidInCapitalMember 2014-07-01 2015-06-30 0001299709 us-gaap:TreasuryStockMember 2017-06-30 0001299709 us-gaap:CommonStockMember 2015-06-30 0001299709 us-gaap:RetainedEarningsMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockMember us-gaap:TreasuryStockMember 2015-07-01 2016-06-30 0001299709 us-gaap:TreasuryStockMember 2015-07-01 2016-06-30 0001299709 us-gaap:AccumulatedOtherComprehensiveIncomeMember 2016-07-01 2017-06-30 0001299709 us-gaap:CommonStockMember 2014-07-01 2015-06-30 0001299709 us-gaap:AdditionalPaidInCapitalMember 2015-07-01 2016-06-30 0001299709 us-gaap:CommonStockMember 2015-07-01 2016-06-30 0001299709 us-gaap:AccumulatedOtherComprehensiveIncomeMember 2014-07-01 2015-06-30 0001299709 us-gaap:AccumulatedOtherComprehensiveIncomeMember 2014-06-30 0001299709 us-gaap:RestrictedStockMember us-gaap:TreasuryStockMember 2014-07-01 2015-06-30 0001299709 us-gaap:CommonStockMember 2016-06-30 0001299709 us-gaap:PreferredStockMember 2016-06-30 0001299709 us-gaap:PreferredStockMember 2014-06-30 0001299709 us-gaap:TreasuryStockMember 2015-06-30 0001299709 us-gaap:TreasuryStockMember 2014-06-30 0001299709 us-gaap:AccumulatedOtherComprehensiveIncomeMember 2016-06-30 0001299709 us-gaap:AdditionalPaidInCapitalMember 2016-07-01 2017-06-30 0001299709 us-gaap:RetainedEarningsMember 2016-07-01 2017-06-30 0001299709 us-gaap:PreferredStockMember 2015-06-30 0001299709 us-gaap:CommonStockMember 2016-07-01 2017-06-30 0001299709 2015-06-30 0001299709 us-gaap:AdditionalPaidInCapitalMember 2014-06-30 0001299709 us-gaap:RetainedEarningsMember 2014-06-30 0001299709 2014-06-30 0001299709 us-gaap:TreasuryStockMember 2014-07-01 2015-06-30 0001299709 us-gaap:AdditionalPaidInCapitalMember 2016-06-30 0001299709 us-gaap:TreasuryStockMember 2016-06-30 0001299709 us-gaap:CommonStockMember 2017-06-30 0001299709 us-gaap:RestrictedStockMember us-gaap:TreasuryStockMember 2016-07-01 2017-06-30 0001299709 us-gaap:RetainedEarningsMember 2015-06-30 0001299709 us-gaap:RetainedEarningsMember 2017-06-30 0001299709 us-gaap:RetainedEarningsMember 2015-07-01 2016-06-30 0001299709 us-gaap:CommonStockMember 2014-06-30 0001299709 us-gaap:AccumulatedOtherComprehensiveIncomeMember 2015-06-30 0001299709 us-gaap:PreferredStockMember 2017-06-30 0001299709 us-gaap:TreasuryStockMember 2016-07-01 2017-06-30 0001299709 us-gaap:AccumulatedOtherComprehensiveIncomeMember 2015-07-01 2016-06-30 0001299709 us-gaap:AccumulatedOtherComprehensiveIncomeMember 2017-06-30 0001299709 us-gaap:EmployeeStockOptionMember us-gaap:TreasuryStockMember 2014-07-01 2015-06-30 0001299709 us-gaap:AdditionalPaidInCapitalMember 2015-06-30 0001299709 bofi:PacificWesternEquipmentFinanceMember bofi:DirectFinancingLeaseMember 2016-03-31 0001299709 bofi:PacificWesternEquipmentFinanceMember bofi:DirectFinancingLeaseMember 2016-03-31 2016-03-31 0001299709 bofi:HandRBlockBankDepositsMember bofi:OtherLoanMember bofi:EmeraldAdvanceMember 2016-07-01 2017-06-30 0001299709 bofi:HandRBlockBankDepositsMember 2015-08-31 0001299709 2015-10-31 0001299709 us-gaap:GeographicConcentrationRiskMember 2016-07-01 2017-06-30 0001299709 us-gaap:LoansMember us-gaap:GeographicConcentrationRiskMember stpr:CA 2016-07-01 2017-06-30 0001299709 2015-11-30 0001299709 us-gaap:MaximumMember 2016-07-01 2017-06-30 0001299709 us-gaap:MinimumMember 2016-07-01 2017-06-30 0001299709 us-gaap:FairValueInputsLevel3Member 2015-07-01 2016-06-30 0001299709 us-gaap:FairValueInputsLevel3Member 2016-07-01 2017-06-30 0001299709 us-gaap:FairValueInputsLevel3Member 2014-07-01 2015-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MarketApproachValuationTechniqueMember 2017-06-30 0001299709 bofi:OtherRealEstateOwnedSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MarketApproachValuationTechniqueMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MarketApproachValuationTechniqueMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialandIndustrialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:IncomeApproachValuationTechniqueMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:IncomeApproachValuationTechniqueMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MarketApproachValuationTechniqueMember 2017-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MarketApproachValuationTechniqueMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-07-01 2017-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-07-01 2017-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-07-01 2017-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-07-01 2017-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-07-01 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember bofi:SaleOfMortgagebackedSecuritiesMember 2016-07-01 2017-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember bofi:MortgageBankingMember 2016-07-01 2017-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember bofi:FairValueGainOnTradingSecuritiesMember 2016-07-01 2017-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:IncomeApproachValuationTechniqueMember 2016-06-30 0001299709 bofi:OtherRealEstateOwnedMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MarketApproachValuationTechniqueMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MarketApproachValuationTechniqueMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MarketApproachValuationTechniqueMember 2016-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MarketApproachValuationTechniqueMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:IncomeApproachValuationTechniqueMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2016-06-30 0001299709 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:MunicipalBondsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:MunicipalBondsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:MunicipalBondsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:MunicipalBondsMember us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:MunicipalBondsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:MunicipalBondsMember us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:MunicipalBondsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:MunicipalBondsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2016-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2017-06-30 0001299709 us-gaap:TradingAccountAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:IncomeApproachValuationTechniqueMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:IncomeApproachValuationTechniqueMember 2017-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MarketApproachValuationTechniqueMember 2017-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:IncomeApproachValuationTechniqueMember 2017-06-30 0001299709 us-gaap:RealEstateAcquiredInSatisfactionOfDebtMember us-gaap:CarryingReportedAmountFairValueDisclosureMember us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember 2015-07-01 2016-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember 2016-07-01 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member 2016-07-01 2017-06-30 0001299709 us-gaap:RealEstateAcquiredInSatisfactionOfDebtMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember us-gaap:CarryingReportedAmountFairValueDisclosureMember us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 us-gaap:RealEstateAcquiredInSatisfactionOfDebtMember 2016-07-01 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member 2017-05-31 0001299709 us-gaap:RealEstateAcquiredInSatisfactionOfDebtMember us-gaap:CarryingReportedAmountFairValueDisclosureMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember us-gaap:CarryingReportedAmountFairValueDisclosureMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 us-gaap:EstimateOfFairValueFairValueDisclosureMember 2017-06-30 0001299709 us-gaap:FairValueInputsLevel1Member 2017-06-30 0001299709 us-gaap:CarryingReportedAmountFairValueDisclosureMember 2017-06-30 0001299709 us-gaap:FairValueInputsLevel3Member 2017-06-30 0001299709 us-gaap:FairValueInputsLevel2Member 2017-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:IncomeApproachValuationTechniqueMember 2016-06-30 0001299709 us-gaap:TradingAccountAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:IncomeApproachValuationTechniqueMember 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:IncomeApproachValuationTechniqueMember 2016-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MarketApproachValuationTechniqueMember 2016-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2015-07-01 2016-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2015-07-01 2016-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2015-07-01 2016-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2015-07-01 2016-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember bofi:MortgageBankingMember 2015-07-01 2016-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2015-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2015-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2015-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember bofi:FairValueGainOnTradingSecuritiesMember 2015-07-01 2016-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2015-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2015-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember bofi:SaleOfMortgagebackedSecuritiesMember 2015-07-01 2016-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:OtherRealEstateOwnedSingleFamilyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:OtherRealEstateOwnedSingleFamilyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:OtherRealEstateOwnedMultifamilyMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialandIndustrialMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialandIndustrialMember us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialandIndustrialMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:OtherRealEstateOwnedMultifamilyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:OtherRealEstateOwnedMultifamilyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:OtherRealEstateOwnedSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:OtherRealEstateOwnedSingleFamilyMember us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:OtherRealEstateOwnedMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialandIndustrialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueMeasurementsNonrecurringMember 2017-06-30 0001299709 us-gaap:CarryingReportedAmountFairValueDisclosureMember 2016-06-30 0001299709 us-gaap:FairValueInputsLevel3Member 2016-06-30 0001299709 us-gaap:FairValueInputsLevel2Member 2016-06-30 0001299709 us-gaap:FairValueInputsLevel1Member 2016-06-30 0001299709 us-gaap:EstimateOfFairValueFairValueDisclosureMember 2016-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:OtherRealEstateOwnedMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialandIndustrialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:OtherRealEstateOwnedSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:OtherRealEstateOwnedSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:OtherRealEstateOwnedMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialandIndustrialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialandIndustrialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:OtherRealEstateOwnedSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableOtherLoansMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableCommercialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableSingleFamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonperformingFinancingReceivableRecreationalVehicleAndAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:ForeclosedAssetsRecreationalVehicleandAutoMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:OtherRealEstateOwnedMultifamilyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember bofi:MarketApproachAndIncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonperformingFinancingReceivableHomeEquityMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsNonrecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:TradingAccountAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 us-gaap:TradingAccountAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 us-gaap:TradingAccountAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 us-gaap:TradingAccountAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 us-gaap:TradingAccountAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:MortgageServicingRightsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 us-gaap:TradingAccountAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MinimumMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:WeightedAverageMember us-gaap:MarketApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:DerivativeFinancialInstrumentsAssetsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MaximumMember us-gaap:MarketApproachValuationTechniqueMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:MinimumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember us-gaap:MaximumMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:CollateralizedDebtObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:WeightedAverageMember us-gaap:IncomeApproachValuationTechniqueMember 2016-07-01 2017-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember 2017-06-30 0001299709 us-gaap:MunicipalBondsMember 2016-06-30 0001299709 us-gaap:ResidentialMortgageBackedSecuritiesMember 2017-06-30 0001299709 us-gaap:ResidentialMortgageBackedSecuritiesMember 2016-06-30 0001299709 us-gaap:MunicipalBondsMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember 2016-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember 2017-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember 2016-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember 2016-06-30 0001299709 bofi:NonAgencySecuritiesMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember 2017-06-30 0001299709 bofi:NonAgencySecuritiesMember 2016-06-30 0001299709 bofi:NonAgencyRmbsSeniorSupportSecuritiesMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember 2017-06-30 0001299709 bofi:NonAgencyRmbsSeniorSupportSecuritiesMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyRmbsSuperSeniorSecuritiesMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember 2015-07-01 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember 2016-07-01 2017-06-30 0001299709 bofi:NonAgencyRmbsMezzanineZTrancheSecuritiesMember 2017-06-30 0001299709 bofi:NonAgencyRmbsSeniorSupportSecuritiesMember 2016-07-01 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember 2014-07-01 2015-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember 2017-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember 2017-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember 2015-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember 2016-06-30 0001299709 bofi:NonAgencyResidentialMortgageBackedSecuritiesMember 2014-06-30 0001299709 us-gaap:ResidentialMortgageBackedSecuritiesMember 2016-06-30 0001299709 us-gaap:MunicipalBondsMember 2016-06-30 0001299709 us-gaap:ResidentialMortgageBackedSecuritiesMember 2017-06-30 0001299709 bofi:NonAgencySecuritiesMember 2017-06-30 0001299709 bofi:AgencyResidentialMortgageBackedSecuritiesMember 2016-06-30 0001299709 bofi:NonAgencySecuritiesMember 2016-06-30 0001299709 us-gaap:MunicipalBondsMember 2017-06-30 0001299709 us-gaap:OtherDebtSecuritiesMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember 2014-07-01 2015-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember bofi:FactoringMember 2016-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2016-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember us-gaap:AutomobileLoanMember 2016-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2016-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember bofi:WarehouseAndOtherMember 2016-06-30 0001299709 bofi:CommercialandIndustrialMember 2016-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember bofi:OtherLoanMember 2016-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember bofi:CommercialandIndustrialMember 2016-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2016-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember us-gaap:RealEstateMember 2016-06-30 0001299709 us-gaap:ResidentialMortgageMember 2016-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember bofi:OtherLoanMember 2016-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2016-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember 2016-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember us-gaap:HomeEquityLoanMember 2016-06-30 0001299709 us-gaap:AutomobileLoanMember 2016-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember 2016-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember bofi:CommercialandIndustrialMember 2016-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember us-gaap:RealEstateMember 2016-06-30 0001299709 bofi:WarehouseAndOtherMember 2016-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember bofi:FactoringMember 2016-06-30 0001299709 us-gaap:HomeEquityLoanMember 2016-06-30 0001299709 us-gaap:RealEstateMember 2016-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember us-gaap:AutomobileLoanMember 2016-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember bofi:WarehouseAndOtherMember 2016-06-30 0001299709 bofi:OtherLoanMember 2016-06-30 0001299709 bofi:FactoringMember 2016-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember us-gaap:HomeEquityLoanMember 2016-06-30 0001299709 bofi:ResidentialMultifamilyLoanMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember 2017-06-30 0001299709 bofi:PurchasedLoansMember bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 bofi:CommercialandIndustrialMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember 2017-06-30 0001299709 bofi:OtherLoanMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember 2015-07-01 2016-06-30 0001299709 bofi:FactoringMember 2015-07-01 2016-06-30 0001299709 us-gaap:ResidentialMortgageMember 2015-07-01 2016-06-30 0001299709 us-gaap:HomeEquityLoanMember 2015-06-30 0001299709 bofi:CommercialandIndustrialMember 2015-07-01 2016-06-30 0001299709 bofi:OtherLoanMember 2015-07-01 2016-06-30 0001299709 bofi:WarehouseAndOtherMember 2015-06-30 0001299709 us-gaap:RealEstateMember 2015-07-01 2016-06-30 0001299709 bofi:ResidentialMultifamilyLoanMember 2015-07-01 2016-06-30 0001299709 us-gaap:HomeEquityLoanMember 2015-07-01 2016-06-30 0001299709 us-gaap:AutomobileLoanMember 2015-07-01 2016-06-30 0001299709 us-gaap:RealEstateMember 2015-06-30 0001299709 bofi:FactoringMember 2015-06-30 0001299709 bofi:ResidentialMultifamilyLoanMember 2015-06-30 0001299709 bofi:WarehouseAndOtherMember 2015-07-01 2016-06-30 0001299709 us-gaap:AutomobileLoanMember 2015-06-30 0001299709 bofi:CommercialandIndustrialMember 2015-06-30 0001299709 bofi:OtherLoanMember 2015-06-30 0001299709 us-gaap:ResidentialMortgageMember 2015-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:NonperformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:PerformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:PerformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:RealEstateMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:PerformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:PerformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:NonperformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:PerformingFinancingReceivableMember us-gaap:RealEstateMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:NonperformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2016-06-30 0001299709 bofi:PurchasedLoansMember bofi:ResidentialMultifamilyLoanMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:PerformingFinancingReceivableMember us-gaap:RealEstateMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:NonperformingFinancingReceivableMember us-gaap:RealEstateMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:NonperformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:NonperformingFinancingReceivableMember us-gaap:RealEstateMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember 2016-06-30 0001299709 bofi:OtherLoanMember 2016-07-01 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2017-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2017-06-30 0001299709 bofi:OtherLoanMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2017-06-30 0001299709 bofi:OtherLoanMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2017-06-30 0001299709 us-gaap:FinancingReceivables60To89DaysPastDueMember 2017-06-30 0001299709 us-gaap:FinancingReceivables30To59DaysPastDueMember 2017-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2017-06-30 0001299709 us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2017-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2017-06-30 0001299709 bofi:OtherLoanMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2017-06-30 0001299709 bofi:ResidentialMultifamilyLoanMember 2016-07-01 2017-06-30 0001299709 bofi:FactoringMember 2016-07-01 2017-06-30 0001299709 us-gaap:AutomobileLoanMember 2016-07-01 2017-06-30 0001299709 us-gaap:ResidentialMortgageMember 2016-07-01 2017-06-30 0001299709 us-gaap:RealEstateMember 2016-07-01 2017-06-30 0001299709 us-gaap:HomeEquityLoanMember 2016-07-01 2017-06-30 0001299709 bofi:CommercialandIndustrialMember 2016-07-01 2017-06-30 0001299709 bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 bofi:WarehouseAndOtherMember 2017-06-30 0001299709 us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:WarehouseAndOtherMember 2016-07-01 2017-06-30 0001299709 bofi:FactoringMember 2017-06-30 0001299709 us-gaap:AutomobileLoanMember 2017-06-30 0001299709 us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 us-gaap:HomeEquityLoanMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:PassMember 2017-06-30 0001299709 us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:PassMember 2017-06-30 0001299709 us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:OtherLoanMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:OtherLoanMember us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:OtherLoanMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:WarehouseAndOtherMember us-gaap:PassMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:OtherLoanMember us-gaap:PassMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:PassMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:SubstandardMember 2017-06-30 0001299709 us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:RealEstateMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:WarehouseAndOtherMember us-gaap:SubstandardMember 2017-06-30 0001299709 us-gaap:PassMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:PassMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:PurchasedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:PurchasedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:WarehouseAndOtherMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:PassMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:RealEstateMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:PassMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:PurchasedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:PassMember 2017-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:FactoringMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:FactoringMember us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:RealEstateMember us-gaap:PassMember 2017-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:RealEstateMember us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:FactoringMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:PurchasedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:DoubtfulMember 2017-06-30 0001299709 bofi:FactoringMember us-gaap:PassMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:WarehouseAndOtherMember us-gaap:SpecialMentionMember 2017-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:PassMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:WarehouseAndOtherMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:SubstandardMember 2017-06-30 0001299709 bofi:OtherLoanMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2016-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2016-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2016-06-30 0001299709 us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2016-06-30 0001299709 us-gaap:FinancingReceivables60To89DaysPastDueMember 2016-06-30 0001299709 us-gaap:FinancingReceivables30To59DaysPastDueMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2016-06-30 0001299709 bofi:OtherLoanMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2016-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:FinancingReceivables30To59DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2016-06-30 0001299709 bofi:OtherLoanMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivables60To89DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:OtherLoanMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:SubstandardMember 2016-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:SubstandardMember 2016-06-30 0001299709 us-gaap:SubstandardMember 2016-06-30 0001299709 bofi:FactoringMember us-gaap:PassMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:OtherLoanMember us-gaap:SubstandardMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:PassMember 2016-06-30 0001299709 bofi:PurchasedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:OtherLoanMember us-gaap:PassMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:RealEstateMember us-gaap:PassMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:SubstandardMember 2016-06-30 0001299709 us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:FactoringMember us-gaap:SubstandardMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:PassMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:DoubtfulMember 2016-06-30 0001299709 us-gaap:PassMember 2016-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember us-gaap:PassMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:PassMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:RealEstateMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:WarehouseAndOtherMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:RealEstateMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:WarehouseAndOtherMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:PurchasedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:WarehouseAndOtherMember us-gaap:PassMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:PassMember 2016-06-30 0001299709 us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:SubstandardMember 2016-06-30 0001299709 bofi:FactoringMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:RealEstateMember us-gaap:SubstandardMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:WarehouseAndOtherMember us-gaap:SubstandardMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:CommercialandIndustrialMember us-gaap:PassMember 2016-06-30 0001299709 bofi:PurchasedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:PassMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:HomeEquityLoanMember us-gaap:SubstandardMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:RealEstateMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:FactoringMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:PurchasedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:SubstandardMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:WarehouseAndOtherMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:SpecialMentionMember 2016-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:ResidentialMortgageMember us-gaap:PassMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:AutomobileLoanMember us-gaap:SubstandardMember 2016-06-30 0001299709 bofi:OtherLoanMember us-gaap:DoubtfulMember 2016-06-30 0001299709 bofi:InHouseOriginatedLoansMember bofi:ResidentialMultifamilyLoanMember us-gaap:SubstandardMember 2016-06-30 0001299709 us-gaap:ResidentialPortfolioSegmentMember us-gaap:ResidentialMortgageMember 2016-06-30 0001299709 us-gaap:CommercialRealEstatePortfolioSegmentMember us-gaap:RealEstateMember 2016-06-30 0001299709 us-gaap:ResidentialPortfolioSegmentMember bofi:WarehouseAndOtherMember 2016-06-30 0001299709 us-gaap:ResidentialPortfolioSegmentMember bofi:WarehouseAndOtherMember 2017-06-30 0001299709 us-gaap:ResidentialPortfolioSegmentMember bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 us-gaap:ResidentialPortfolioSegmentMember us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 us-gaap:CommercialRealEstatePortfolioSegmentMember us-gaap:RealEstateMember 2017-06-30 0001299709 us-gaap:ConsumerPortfolioSegmentMember us-gaap:AutomobileLoanMember 2016-06-30 0001299709 us-gaap:CommercialPortfolioSegmentMember bofi:CommercialandIndustrialMember 2016-06-30 0001299709 us-gaap:UnallocatedFinancingReceivablesMember bofi:OtherLoanMember 2016-06-30 0001299709 us-gaap:CommercialPortfolioSegmentMember bofi:CommercialandIndustrialMember 2017-06-30 0001299709 us-gaap:ResidentialPortfolioSegmentMember us-gaap:HomeEquityLoanMember 2016-06-30 0001299709 us-gaap:UnallocatedFinancingReceivablesMember bofi:OtherLoanMember 2017-06-30 0001299709 us-gaap:ResidentialPortfolioSegmentMember bofi:ResidentialMultifamilyLoanMember 2016-06-30 0001299709 us-gaap:ResidentialPortfolioSegmentMember us-gaap:HomeEquityLoanMember 2017-06-30 0001299709 us-gaap:UnallocatedFinancingReceivablesMember bofi:FactoringMember 2017-06-30 0001299709 us-gaap:UnallocatedFinancingReceivablesMember bofi:FactoringMember 2016-06-30 0001299709 us-gaap:ConsumerPortfolioSegmentMember us-gaap:AutomobileLoanMember 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:PerformingFinancingReceivableMember us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:NonperformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:NonperformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:PerformingFinancingReceivableMember us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:NonperformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:NonperformingFinancingReceivableMember us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:PerformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:PerformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:PerformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:NonperformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 bofi:PurchasedLoansMember us-gaap:PerformingFinancingReceivableMember bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:NonperformingFinancingReceivableMember us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:FicoScoreGreaterThanOrEqualTo770Member us-gaap:AutomobileLoanMember 2017-06-30 0001299709 bofi:LoanToValueRatio5160Member us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:LoanToValueLessThanOrEqualTo50Member us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:LoanToValueRatioGreaterThan80Member bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 bofi:FicoScore700714Member us-gaap:AutomobileLoanMember 2017-06-30 0001299709 us-gaap:AutomobileLoanMember us-gaap:MinimumMember 2016-07-01 2017-06-30 0001299709 bofi:LoanToValueRatio6675Member bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 bofi:WarehouseLoansMember 2017-06-30 0001299709 bofi:FicoScore660699Member us-gaap:AutomobileLoanMember 2017-06-30 0001299709 bofi:AdjustableInterestRateMember 2017-06-30 0001299709 bofi:LoanToValueRatio6170Member us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:LoanToValueRatio7180Member us-gaap:RealEstateMember 2017-06-30 0001299709 us-gaap:LoansMember us-gaap:GeographicConcentrationRiskMember stpr:CA 2015-07-01 2016-06-30 0001299709 bofi:LoanToValueRatioRange7680Member bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 us-gaap:AutomobileLoanMember us-gaap:MaximumMember 2016-07-01 2017-06-30 0001299709 bofi:LoanToValueRatioGreaterThan80Member us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 bofi:LoanToValueLessThanOrEqualTo55Member bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 bofi:LoanToValueRatio5665Member bofi:ResidentialMultifamilyLoanMember 2017-06-30 0001299709 bofi:WarehouseLoansMember 2016-06-30 0001299709 bofi:FicoScoreLessThan660Member us-gaap:AutomobileLoanMember 2017-06-30 0001299709 bofi:LoanToValueRatio6170Member us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 bofi:FicoScore715769Member us-gaap:AutomobileLoanMember 2017-06-30 0001299709 bofi:LoanToValueRatioLessThanOrEqualTo60Member us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 bofi:LoanToValueRatioGreaterThan80Member us-gaap:RealEstateMember 2017-06-30 0001299709 bofi:FixedInterestRateMember 2017-06-30 0001299709 bofi:LoanToValueRatio7180Member us-gaap:ResidentialMortgageMember 2017-06-30 0001299709 us-gaap:HomeEquityLoanMember 2014-07-01 2015-06-30 0001299709 us-gaap:AutomobileLoanMember 2014-07-01 2015-06-30 0001299709 bofi:ResidentialMultifamilyLoanMember 2014-07-01 2015-06-30 0001299709 bofi:ResidentialMultifamilyLoanMember 2014-06-30 0001299709 bofi:WarehouseAndOtherMember 2014-07-01 2015-06-30 0001299709 bofi:FactoringMember 2014-07-01 2015-06-30 0001299709 us-gaap:ResidentialMortgageMember 2014-06-30 0001299709 bofi:CommercialandIndustrialMember 2014-07-01 2015-06-30 0001299709 us-gaap:RealEstateMember 2014-07-01 2015-06-30 0001299709 us-gaap:ResidentialMortgageMember 2014-07-01 2015-06-30 0001299709 us-gaap:AutomobileLoanMember 2014-06-30 0001299709 bofi:OtherLoanMember 2014-07-01 2015-06-30 0001299709 us-gaap:RealEstateMember 2014-06-30 0001299709 us-gaap:HomeEquityLoanMember 2014-06-30 0001299709 bofi:CommercialandIndustrialMember 2014-06-30 0001299709 bofi:OtherLoanMember 2014-06-30 0001299709 bofi:WarehouseAndOtherMember 2014-06-30 0001299709 bofi:FactoringMember 2014-06-30 0001299709 bofi:InHouseOriginatedLoansMember us-gaap:ResidentialMortgageMember 2015-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember bofi:OtherLoanMember 2017-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember bofi:WarehouseAndOtherMember 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember us-gaap:HomeEquityLoanMember 2017-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember us-gaap:HomeEquityLoanMember 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember bofi:WarehouseAndOtherMember 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember bofi:FactoringMember 2017-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember bofi:OtherLoanMember 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember us-gaap:AutomobileLoanMember 2017-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember bofi:FactoringMember 2017-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember 2017-06-30 0001299709 us-gaap:NonperformingFinancingReceivableMember bofi:CommercialandIndustrialMember 2017-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember bofi:CommercialandIndustrialMember 2017-06-30 0001299709 us-gaap:PerformingFinancingReceivableMember us-gaap:AutomobileLoanMember 2017-06-30 0001299709 us-gaap:ComputerSoftwareIntangibleAssetMember 2017-06-30 0001299709 us-gaap:ComputerEquipmentMember 2016-06-30 0001299709 us-gaap:ComputerSoftwareIntangibleAssetMember 2016-06-30 0001299709 us-gaap:ComputerEquipmentMember 2017-06-30 0001299709 us-gaap:FurnitureAndFixturesMember 2016-06-30 0001299709 us-gaap:LeaseholdImprovementsMember 2016-06-30 0001299709 us-gaap:LeaseholdImprovementsMember 2017-06-30 0001299709 us-gaap:FurnitureAndFixturesMember 2017-06-30 0001299709 us-gaap:MinimumMember 2017-06-30 0001299709 us-gaap:MaximumMember 2016-06-30 0001299709 us-gaap:MaximumMember 2017-06-30 0001299709 us-gaap:MinimumMember 2016-06-30 0001299709 us-gaap:WeightedAverageMember 2017-06-30 0001299709 us-gaap:WeightedAverageMember 2016-07-01 2017-06-30 0001299709 us-gaap:MaturityOnDemandMember 2017-06-30 0001299709 us-gaap:SubordinatedDebtMember 2016-03-31 0001299709 us-gaap:FederalReserveBankAdvancesMember 2016-06-30 0001299709 us-gaap:JuniorSubordinatedDebtMember 2016-07-01 2017-06-30 0001299709 us-gaap:LineOfCreditMember 2017-06-30 0001299709 us-gaap:JuniorSubordinatedDebtMember us-gaap:LondonInterbankOfferedRateLIBORMember 2016-07-01 2017-06-30 0001299709 us-gaap:SubordinatedDebtMember 2016-03-01 2016-03-31 0001299709 us-gaap:JuniorSubordinatedDebtMember 2017-06-30 0001299709 us-gaap:FederalReserveBankAdvancesMember 2017-06-30 0001299709 us-gaap:JuniorSubordinatedDebtMember 2004-12-13 2004-12-13 0001299709 us-gaap:LineOfCreditMember 2016-06-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-04-01 2015-04-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-09-01 2015-09-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-02-01 2015-02-28 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-08-01 2015-08-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-06-01 2015-06-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-10-01 2015-10-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-02-28 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-03-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-05-01 2015-05-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-03-01 2015-03-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-05-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-09-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-08-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-04-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-07-01 2015-07-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-10-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-07-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-06-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-08-01 2015-01-31 0001299709 us-gaap:SeriesAPreferredStockMember 2003-07-01 2004-06-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-07-22 2014-07-22 0001299709 us-gaap:SeriesAPreferredStockMember 2016-07-01 2017-06-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-02-23 2015-02-23 0001299709 us-gaap:SeriesAPreferredStockMember 2003-10-28 0001299709 us-gaap:SeriesAPreferredStockMember 2003-06-01 2009-01-01 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-02-01 2015-12-31 0001299709 us-gaap:SeriesAPreferredStockMember 2004-06-30 0001299709 us-gaap:SeriesAPreferredStockMember 2003-10-27 2003-10-28 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-09-01 2014-09-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-10-01 2014-10-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-12-01 2014-12-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-08-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-08-01 2014-08-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-01-01 2015-01-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-10-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-11-01 2014-11-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-09-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2015-01-31 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-11-30 0001299709 bofi:AtTheMarketEquityDistributionAgreementMember us-gaap:CommonStockMember 2014-12-31 0001299709 us-gaap:SeriesAPreferredStockMember 2015-07-01 2016-06-30 0001299709 us-gaap:SeriesAPreferredStockMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember 2016-07-01 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember 2014-07-01 2015-06-30 0001299709 bofi:A2004StockIncentivePlanMember 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember 2016-07-01 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember 2015-07-01 2016-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember 2016-07-01 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember 2017-06-30 0001299709 bofi:A2004StockIncentivePlanMember us-gaap:MaximumMember 2007-11-30 0001299709 bofi:A2014StockIncentivePlanMember 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember 2015-07-01 2016-06-30 0001299709 bofi:StockIncentivePlansMember 2017-06-30 0001299709 bofi:A2004StockIncentivePlanMember 2007-07-01 2007-07-01 0001299709 bofi:StockIncentivePlansMember us-gaap:MaximumMember 2016-07-01 2017-06-30 0001299709 2016-03-17 0001299709 bofi:A2004StockIncentivePlanMember 2007-07-01 0001299709 bofi:StockIncentivePlansMember us-gaap:MinimumMember 2016-07-01 2017-06-30 0001299709 bofi:StockIncentivePlansMember 2016-07-01 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember 2015-07-01 2016-06-30 0001299709 2015-11-06 0001299709 us-gaap:RestrictedStockUnitsRSUMember 2014-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember 2016-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember us-gaap:ShareBasedCompensationAwardTrancheThreeMember 2015-07-01 2016-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember us-gaap:ShareBasedCompensationAwardTrancheOneMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember us-gaap:ShareBasedCompensationAwardTrancheTwoMember 2015-07-01 2016-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember us-gaap:ShareBasedCompensationAwardTrancheTwoMember 2016-07-01 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember us-gaap:ShareBasedCompensationAwardTrancheThreeMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember bofi:SharebasedCompensationAwardTrancheFourMember 2015-07-01 2016-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember us-gaap:ShareBasedCompensationAwardTrancheOneMember 2016-07-01 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember us-gaap:ShareBasedCompensationAwardTrancheOneMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember us-gaap:ShareBasedCompensationAwardTrancheTwoMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember us-gaap:ShareBasedCompensationAwardTrancheThreeMember 2016-07-01 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember us-gaap:ShareBasedCompensationAwardTrancheOneMember 2015-07-01 2016-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember bofi:SharebasedCompensationAwardTrancheFourMember 2016-07-01 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember bofi:SharebasedCompensationAwardTrancheFourMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember us-gaap:ShareBasedCompensationAwardTrancheThreeMember 2015-07-01 2016-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember us-gaap:ShareBasedCompensationAwardTrancheOneMember 2016-07-01 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember us-gaap:ShareBasedCompensationAwardTrancheTwoMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember us-gaap:ShareBasedCompensationAwardTrancheOneMember 2015-07-01 2016-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember us-gaap:ShareBasedCompensationAwardTrancheTwoMember 2016-07-01 2017-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember bofi:EmployeesandDirectorsMember us-gaap:ShareBasedCompensationAwardTrancheThreeMember 2014-07-01 2015-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember us-gaap:ShareBasedCompensationAwardTrancheTwoMember 2015-07-01 2016-06-30 0001299709 us-gaap:RestrictedStockUnitsRSUMember us-gaap:ChiefExecutiveOfficerMember us-gaap:ShareBasedCompensationAwardTrancheThreeMember 2016-07-01 2017-06-30 0001299709 bofi:MandalevyCaseMember us-gaap:PendingLitigationMember 2017-06-02 2017-06-02 0001299709 2015-12-01 2015-12-31 0001299709 2016-06-09 0001299709 bofi:AdjustableInterestRateMember bofi:SalesCommitmentMember us-gaap:LoanOriginationCommitmentsMember 2016-06-30 0001299709 bofi:FixedInterestRateMember bofi:LoanPurchaseAndOriginationCommitmentsMember 2016-06-30 0001299709 bofi:FixedInterestRateMember bofi:LoanPurchaseAndOriginationCommitmentsMember 2017-06-30 0001299709 bofi:LoanPurchaseAndOriginationCommitmentsMember 2017-06-30 0001299709 bofi:AdjustableInterestRateMember bofi:LoanPurchaseAndOriginationCommitmentsMember 2016-06-30 0001299709 bofi:FixedInterestRateMember bofi:SalesCommitmentMember us-gaap:LoanOriginationCommitmentsMember 2016-06-30 0001299709 bofi:SalesCommitmentMember us-gaap:LoanOriginationCommitmentsMember 2016-06-30 0001299709 bofi:SalesCommitmentMember us-gaap:LoanOriginationCommitmentsMember 2017-06-30 0001299709 bofi:AdjustableInterestRateMember bofi:LoanPurchaseAndOriginationCommitmentsMember 2017-06-30 0001299709 bofi:AdjustableInterestRateMember bofi:SalesCommitmentMember us-gaap:LoanOriginationCommitmentsMember 2017-06-30 0001299709 bofi:FixedInterestRateMember bofi:SalesCommitmentMember us-gaap:LoanOriginationCommitmentsMember 2017-06-30 0001299709 bofi:LoanPurchaseAndOriginationCommitmentsMember 2016-06-30 0001299709 us-gaap:SubsidiariesMember 2017-06-30 0001299709 us-gaap:SubsidiariesMember 2016-06-30 0001299709 bofi:HandRBlockBankDepositsMember us-gaap:SubsidiariesMember 2016-12-31 0001299709 us-gaap:ScenarioForecastMember 2019-06-30 0001299709 bofi:HandRBlockBankDepositsMember us-gaap:SubsidiariesMember 2016-09-30 0001299709 us-gaap:ScenarioForecastMember 2018-07-01 2019-06-30 0001299709 us-gaap:ScenarioForecastMember 2017-07-01 2018-06-30 0001299709 bofi:HandRBlockBankDepositsMember us-gaap:SubsidiariesMember 2017-06-30 0001299709 us-gaap:ParentCompanyMember 2016-06-30 0001299709 us-gaap:ParentCompanyMember 2017-06-30 0001299709 us-gaap:ParentCompanyMember 2015-07-01 2016-06-30 0001299709 us-gaap:ParentCompanyMember 2016-07-01 2017-06-30 0001299709 us-gaap:ParentCompanyMember 2014-07-01 2015-06-30 0001299709 us-gaap:ParentCompanyMember 2014-06-30 0001299709 us-gaap:ParentCompanyMember 2015-06-30 0001299709 2016-04-01 2016-06-30 0001299709 2016-01-01 2016-03-31 0001299709 2015-07-01 2015-09-30 0001299709 2015-10-01 2015-12-31 0001299709 2016-07-01 2016-09-30 0001299709 2017-01-01 2017-03-31 0001299709 2016-10-01 2016-12-31 0001299709 2017-04-01 2017-06-30 bofi:segment xbrli:pure xbrli:shares iso4217:USD xbrli:shares iso4217:USD bofi:security bofi:loan bofi:bank bofi:claim bofi:defendant bofi:stock_incentive_plan 0 1667000 0 1667000 1667000 0 1284000 0 1284000 1284000 0 0 26201000 26201000 26201000 0 0 20781000 20781000 20781000 -11979000 834000 -7304000 487000 -4675000 347000 2288000 6949000 14129000 0 138000 6115000 0.171 0 2727000 0 0 2727000 0 0 0 0 0 0 1828000 0 0 1828000 0 0 0 0 0 0 27000 12000 -959000 6000 4859000 0 140000000 2 38 70 156219000 26 16 22 0.00625 0.00625 0.00625 0 17740000 3805000 1010000 1 30560000 0.0359 0.0381 0.0315 37697000 34341000 1128000 2377000 5551000 -385000 1187000 1181000 4401519000 5244667000 1950000 2900000 6400000 956000 -828000 -0.0004 -0.0003 -0.0003 11894000 2454000 7764000 85451000 124536000 139893000 0.178 0.015 0.057 0.136 0.015 0.061 0.1 0 0.050 0.189 0.015 0.053 0.1 0 0.050 0.0584 0.0264 0.0450 LIBOR U.S. Treasury 0.006 0.003 0.004 0.006 0.003 0.005 0.043 3434000 4632000 4330000 157575000 P10Y P26D 1075000000 1129000000 1317000000 5000000 P6M26D 0.0002 0.0001 692000 0 0 67000 1000 0 2000 1000 0 621000 1058000 314000 0 43000 19000 0 1000 1000 0 680000 29967000 0 0 0 5320000 0 462000 51000 3028000 21106000 28913000 0 0 135000 4495000 0 327000 18000 969000 22969000 34154000 63000 0 450000 4409000 0 231000 34000 144000 28823000 0.0008 0.0005 778000 0 0 0 0 0 0 0 278000 500000 214000 0 0 0 0 0 0 0 0 214000 125000 0 0 0 0 0 0 0 0 125000 37000 0 0 0 0 0 0 0 20000 17000 9000 0 0 0 0 0 0 0 0 9000 7000 0 0 0 0 0 0 0 0 7000 36000 0 0 P1Y P1Y P6M 217000 210000 0 4958000 3069000 1578000 217000 0 0 0 0 0 0 0 0 217000 210000 0 0 0 0 0 0 0 0 210000 0 0 0 0 0 0 0 0 0 0 25873000 28790000 26815000 30905000 27648000 0.0059 0.0015 0.0003 0.0041 0.0045 0.0007 0.0003 0.0035 0.0050 0.0038 0.0058 0.0043 10000 657000 0 61000 110000 3000 205000 0 0 663000 727000 1093000 375000 2132000 295000 1032000 215000 1903000 239000 8262000 1427000 254000 3720000 123000 3208000 277000 2660000 902000 8989000 2520000 629000 5852000 418000 4240000 492000 4563000 977000 65000 4000 0 65000 5000 0 413000 186000 2000 0 0 17000 0 0 5058000 4000 7000 2000 11000 44000 0 3691000 192000 8000 2000 12000 32000 0 0 32069000 791000 39000 33000 14696000 1932000 676000 28393000 3978000 34000 16000 16112000 1397000 314000 274000 37127000 795000 46000 35000 14707000 1976000 676000 32084000 4170000 42000 18000 16124000 1429000 314000 274000 P7Y P3Y 500 21057000 0 26616000 339000 18771000 0 283000 145000 42000 39961000 6183000 1 0 0 254000 254000 254000 0 0 33000 33000 33000 0 0 2218000 2218000 2218000 0 0 676000 676000 676000 0 0 278000 278000 278000 0 0 28610000 28610000 28610000 32069000 0 0 32069000 32069000 0 0 314000 314000 314000 0 0 16000 16000 16000 0 0 4255000 4255000 4255000 0 0 274000 274000 274000 0 0 157000 157000 157000 0 0 23377000 23377000 23377000 28393000 0 0 28393000 28393000 0.0052 0.0039 2436000 692000 1000 2000 1000 575000 46000 67000 1058000 19000 1000 1000 643000 37000 314000 43000 0.0001 0.0001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0000 0.0000 249000 8919000 1427000 315000 3830000 126000 3413000 277000 2660000 33046000 856000 43000 33000 14761000 1937000 676000 28806000 4164000 36000 16000 16112000 1414000 314000 274000 -4719000 -8145000 -11553000 800700000 1104000000 8910000 11175000 12403000 37000 9000 7000 0.025 2 879700000 0.8413 0.1587 2600000 1 0.000 0.990 0.004 0.006 1 0.000 0.993 0.003 0.004 0.0963 0.0556 0.8233 6413336000 518674000 68069000 2512000 1382582000 537384000 74820000 2496000 122677000 3704122000 7433981000 996349000 111537000 3619000 1628936000 449922000 156584000 2127000 163836000 3921071000 102000 95000 0 0 334000 353000 P6M 0.4842 20871000 18738000 1505000 -846000 -514000 2176000 -20000 88000 24886000 20226000 18311000 544000 645000 427000 671000 826000 602000 33530000 0 0 33530000 33530000 33530000 6669000 0 0 7328000 6669000 7328000 105376000 84363000 0.0165 0.0113 22831000 2202000 327000 3000 5409000 1870000 169000 2000 389000 12460000 18656000 4757000 213000 13000 4946000 -766000 284000 1000 377000 8831000 0.1 4 2 3091000 4326000 5612000 0.857 0.754 50000 50000000 3242828000 3582766000 4068990000 0 0 45000 45000 45000 0 0 207000 207000 207000 252000 0 0 252000 252000 0 0 60000 60000 60000 0 0 1353000 1353000 1353000 1413000 0 0 1413000 1413000 1139000 3018000 4957000 0.01 0.01 515 4695000 2914000 4574000 80546000 80009000 307456000 2452000 140493000 269886000 -120000 -46000 498000 20000000 P3M11D 0.0475 0.0375 0.0425 P2M19D 0.333 0.333 0.333 0.25 0.25 0.25 0.25 0.333 0.333 0.333 0.25 0.25 0.25 0.25 0.333 0.333 0.333 0.25 0.25 0.25 0.25 19.68 18.65 19.69 19.58 17.56 22.68 20.35 23.38 23.10 24.69 23.69 32.81 27.37 30.99 32.43 87000 441000 132000 254000 88000 23000 248000 303000 153000 155000 73000 33000 192000 186000 132000 43268000 13126000 6 519400 596871 570764 P10Y P4Y 0.148 0.015 176252 82400 0 42222000 1251526000 75000 75000 25000 0.025 0.025 3796356 3796356 723808 723808 0 75985000 75947000 38000 21120000 21113000 7000 3 685830000 664427000 828696000 804317000 0.00625 0.00625 0.00625 0.045 0.07 0.065 0.1442 0.1400 0.1466 0.1425 0.00625 0.00625 0.00625 36307000 31669000 537400000 611000000 1017451000 774627000 7575526000 7566865000 8380909000 8374509000 61404364 64271052 64850114 61177908 64265207 64850114 -2599000 -813000 -1221000 -11000 -3000 1054000 420000 93000 7697000 117000 8327000 8327000 2484000 571000 1982000 -119000 97000 -222000 0.0063 0.0039 0.0200 0.0254 0.0082 0.0093 0.0066 0.0085 1238064 1355796 1491228 false --06-30 FY 2017 2017-06-30 10-K 0001299709 63605338 Yes Large Accelerated Filer 1504817540 BofI Holding, Inc. No Yes 51980000 2236000 52179000 2552000 5517000 69000 5276000 50000 2766000 0 15785000 21889000 -7304000 487000 331156000 346117000 727000000 640000000 1000 44000 315000 0 0 12000 0