{
 "instance": {
  "fhlbb10k12312019.htm": {
   "axisCustom": 3,
   "axisStandard": 38,
   "contextCount": 473,
   "dts": {
    "calculationLink": {
     "local": [
      "fhlbbost-20191231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "fhlbbost-20191231_def.xml"
     ],
     "remote": [
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-eedm-def-2019-01-31.xml",
      "http://xbrl.fasb.org/srt/2019/elts/srt-eedm1-def-2019-01-31.xml"
     ]
    },
    "inline": {
     "local": [
      "fhlbb10k12312019.htm"
     ]
    },
    "labelLink": {
     "local": [
      "fhlbbost-20191231_lab.xml"
     ],
     "remote": [
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-doc-2019-01-31.xml",
      "https://xbrl.sec.gov/dei/2019/dei-doc-2019-01-31.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "fhlbbost-20191231_pre.xml"
     ]
    },
    "referenceLink": {
     "remote": [
      "https://xbrl.sec.gov/dei/2019/dei-ref-2019-01-31.xml",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-ref-2019-01-31.xml"
     ]
    },
    "schema": {
     "local": [
      "fhlbbost-20191231.xsd"
     ],
     "remote": [
      "http://xbrl.fasb.org/srt/2019/elts/srt-types-2019-01-31.xsd",
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
      "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-roles-2019-01-31.xsd",
      "http://xbrl.fasb.org/srt/2019/elts/srt-roles-2019-01-31.xsd",
      "https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-types-2019-01-31.xsd",
      "http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "https://xbrl.sec.gov/currency/2019/currency-2019-01-31.xsd",
      "https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd",
      "https://xbrl.sec.gov/exch/2019/exch-2019-01-31.xsd",
      "http://xbrl.sec.gov/naics/2017/naics-2017-01-31.xsd",
      "http://xbrl.sec.gov/sic/2011/sic-2011-01-31.xsd",
      "https://xbrl.sec.gov/stpr/2018/stpr-2018-01-31.xsd",
      "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-parts-codification-2019-01-31.xsd"
     ]
    }
   },
   "elementCount": 951,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2019-01-31": 11,
    "http://www.fhlbboston.com/20191231": 7,
    "http://xbrl.sec.gov/dei/2019-01-31": 7,
    "total": 25
   },
   "keyCustom": 133,
   "keyStandard": 549,
   "memberCustom": 35,
   "memberStandard": 66,
   "nsprefix": "fhlbbost",
   "nsuri": "http://www.fhlbboston.com/20191231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "0001000 - Document - Cover Page",
     "role": "http://www.fhlbboston.com/role/CoverPage",
     "shortName": "Cover Page",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2109100 - Disclosure - Recently Issued and Adopted Accounting Guidance",
     "role": "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidance",
     "shortName": "Recently Issued and Adopted Accounting Guidance",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityTaxIdentificationNumber",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429406 - Disclosure - Employee Retirement Plans - Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails",
     "shortName": "Employee Retirement Plans - Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanAccumulatedBenefitObligation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfAssumptionsUsedTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429407 - Disclosure - Employee Retirement Plans - Key Assumptions used for actuarial calculations (Details)",
     "role": "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails",
     "shortName": "Employee Retirement Plans - Key Assumptions used for actuarial calculations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfAssumptionsUsedTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfExpectedBenefitPaymentsTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429408 - Disclosure - Employee Retirement Plans - Expected future benefit payments (Details)",
     "role": "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails",
     "shortName": "Employee Retirement Plans - Expected future benefit payments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfExpectedBenefitPaymentsTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2430402 - Disclosure - Fair Values Carrying Value and Fair Value of Financial Instruments (Details)",
     "role": "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
     "shortName": "Fair Values Carrying Value and Fair Value of Financial Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TradingSecurities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2430403 - Disclosure - Fair Values Fair Value of Assets and Liabilities Measured at Fair Value on a Recurring and Nonrecurring Basis (Details)",
     "role": "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
     "shortName": "Fair Values Fair Value of Assets and Liabilities Measured at Fair Value on a Recurring and Nonrecurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2018Q4_us-gaap_FairValueByAssetClassAxis_us-gaap_AvailableforsaleSecuritiesMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_us-gaap_FinancialInstrumentAxis_us-gaap_USStatesAndPoliticalSubdivisionsMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2430404 - Disclosure - Estimated Fair Value Level 3 Reconciliation - Roll Forward (Details)",
     "role": "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
     "shortName": "Estimated Fair Value Level 3 Reconciliation - Roll Forward (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2016Q4_us-gaap_FairValueByAssetClassAxis_us-gaap_AvailableforsaleSecuritiesMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_us-gaap_FinancialInstrumentAxis_us-gaap_USStatesAndPoliticalSubdivisionsMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherLiabilities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2431402 - Disclosure - Commitments and Contingencies (Details)",
     "role": "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
     "shortName": "Commitments and Contingencies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "lang": "en-US",
      "name": "fhlbbost:MaximumTermOfCommitmentsToInvestInMortgageLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockOtherValueOutstanding",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2432402 - Disclosure - Transactions with Shareholders (Details)",
     "role": "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails",
     "shortName": "Transactions with Shareholders (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "fhlbbost:ScheduleofTransactionswithShareholdersTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_fhlbbost_TransactionswithShareholdersMembersandNonmembersAxis_fhlbbost_CitizensBankN.A.Member",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CommonStockOtherValueOutstanding",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "fhlbbost:BondsTransferredToOtherFederalHomeLoanBanksAtParValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2433401 - Disclosure - Transactions with Other FHLBanks (Details)",
     "role": "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails",
     "shortName": "Transactions with Other FHLBanks (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "fhlbbost:BondsTransferredToOtherFederalHomeLoanBanksAtParValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:RealizedGainLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldtomaturitySecuritiesSoldSecurityRealizedGainLossExcludingOtherThanTemporaryImpairments",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2434401 - Disclosure - Subsequent Events (Details)",
     "role": "http://www.fhlbboston.com/role/SubsequentEventsDetails",
     "shortName": "Subsequent Events (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2020Q1QTD_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:HeldtomaturitySecuritiesSoldSecurityRealizedGainLossExcludingOtherThanTemporaryImpairments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2110100 - Disclosure - Cash and Due From Banks",
     "role": "http://www.fhlbboston.com/role/CashAndDueFromBanks",
     "shortName": "Cash and Due From Banks",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:TradingSecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2112100 - Disclosure - Trading Securities",
     "role": "http://www.fhlbboston.com/role/TradingSecurities",
     "shortName": "Trading Securities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:TradingSecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:AvailableForSaleSecuritiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2113100 - Disclosure - Available-for-Sale Securities",
     "role": "http://www.fhlbboston.com/role/AvailableForSaleSecurities",
     "shortName": "Available-for-Sale Securities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:AvailableForSaleSecuritiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:HeldToMaturitySecuritiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2114100 - Disclosure - Held-to-Maturity Securities",
     "role": "http://www.fhlbboston.com/role/HeldToMaturitySecurities",
     "shortName": "Held-to-Maturity Securities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:HeldToMaturitySecuritiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2115100 - Disclosure - Other-Than-Temporary Impairment",
     "role": "http://www.fhlbboston.com/role/OtherThanTemporaryImpairment",
     "shortName": "Other-Than-Temporary Impairment",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2116100 - Disclosure - Advances",
     "role": "http://www.fhlbboston.com/role/Advances",
     "shortName": "Advances",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2118100 - Disclosure - Mortgage Loans Held for Portfolio",
     "role": "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolio",
     "shortName": "Mortgage Loans Held for Portfolio",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AllowanceForCreditLossesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2119100 - Disclosure - Allowance for Credit Losses",
     "role": "http://www.fhlbboston.com/role/AllowanceForCreditLosses",
     "shortName": "Allowance for Credit Losses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AllowanceForCreditLossesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2122100 - Disclosure - Derivatives and Hedging Activities",
     "role": "http://www.fhlbboston.com/role/DerivativesAndHedgingActivities",
     "shortName": "Derivatives and Hedging Activities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1001000 - Statement - Statements of Condition",
     "role": "http://www.fhlbboston.com/role/StatementsOfCondition",
     "shortName": "Statements of Condition",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestBearingDepositsInBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2123100 - Disclosure - Deposits",
     "role": "http://www.fhlbboston.com/role/Deposits",
     "shortName": "Deposits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2124100 - Disclosure - Consolidated Obligations",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligations",
     "shortName": "Consolidated Obligations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AffordableHousingProgramTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2125100 - Disclosure - Affordable Housing Program",
     "role": "http://www.fhlbboston.com/role/AffordableHousingProgram",
     "shortName": "Affordable Housing Program",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AffordableHousingProgramTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2127100 - Disclosure - Capital",
     "role": "http://www.fhlbboston.com/role/Capital",
     "shortName": "Capital",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2128100 - Disclosure - Accumulated Other Comprehensive Loss",
     "role": "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLoss",
     "shortName": "Accumulated Other Comprehensive Loss",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2129100 - Disclosure - Employee Retirement Plans",
     "role": "http://www.fhlbboston.com/role/EmployeeRetirementPlans",
     "shortName": "Employee Retirement Plans",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2130100 - Disclosure - Fair Values",
     "role": "http://www.fhlbboston.com/role/FairValues",
     "shortName": "Fair Values",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2131100 - Disclosure - Commitments and Contingencies",
     "role": "http://www.fhlbboston.com/role/CommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:TransactionsWIthShareholdersTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2132100 - Disclosure - Transactions with Shareholders",
     "role": "http://www.fhlbboston.com/role/TransactionsWithShareholders",
     "shortName": "Transactions with Shareholders",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:TransactionsWIthShareholdersTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:TransactionsWithOtherFhlbanksTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2133100 - Disclosure - Transactions with Other FHLBanks",
     "role": "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanks",
     "shortName": "Transactions with Other FHLBanks",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:TransactionsWithOtherFhlbanksTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1001001 - Statement - Statements of Condition (Parenthetical)",
     "role": "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical",
     "shortName": "Statements of Condition (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2134100 - Disclosure - Subsequent Events",
     "role": "http://www.fhlbboston.com/role/SubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UseOfEstimates",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2208201 - Disclosure - Summary of Significant Accounting Policies (Policies)",
     "role": "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies",
     "shortName": "Summary of Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UseOfEstimates",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2312301 - Disclosure - Trading Securities (Tables)",
     "role": "http://www.fhlbboston.com/role/TradingSecuritiesTables",
     "shortName": "Trading Securities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2313301 - Disclosure - Available-for-Sale Securities (Tables)",
     "role": "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesTables",
     "shortName": "Available-for-Sale Securities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:HeldToMaturitySecuritiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2314301 - Disclosure - Held-to-Maturity Securities (Tables)",
     "role": "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesTables",
     "shortName": "Held-to-Maturity Securities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:HeldToMaturitySecuritiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:ScheduleOfSignificantInputsInMeasuringOtherThanTemporaryImpairmentsRecognizedInEarningsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2315301 - Disclosure - Other-Than-Temporary Impairment (Tables)",
     "role": "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentTables",
     "shortName": "Other-Than-Temporary Impairment (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:ScheduleOfSignificantInputsInMeasuringOtherThanTemporaryImpairmentsRecognizedInEarningsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2316301 - Disclosure - Advances (Tables)",
     "role": "http://www.fhlbboston.com/role/AdvancesTables",
     "shortName": "Advances (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:MortgageLoansHeldForPortfolioTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2318301 - Disclosure - Mortgage Loans Held for Portfolio (Tables)",
     "role": "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioTables",
     "shortName": "Mortgage Loans Held for Portfolio (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:MortgageLoansHeldForPortfolioTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PastDueFinancingReceivablesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2319301 - Disclosure - Allowance for Credit Losses (Tables)",
     "role": "http://www.fhlbboston.com/role/AllowanceForCreditLossesTables",
     "shortName": "Allowance for Credit Losses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PastDueFinancingReceivablesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2322301 - Disclosure - Derivatives and Hedging Activities (Tables)",
     "role": "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesTables",
     "shortName": "Derivatives and Hedging Activities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestIncomeFederalHomeLoanBankAdvances",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1002000 - Statement - Statements of Operations",
     "role": "http://www.fhlbboston.com/role/StatementsOfOperations",
     "shortName": "Statements of Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestIncomeDepositsWithFinancialInstitutions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesTypeTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2323301 - Disclosure - Deposits (Tables)",
     "role": "http://www.fhlbboston.com/role/DepositsTables",
     "shortName": "Deposits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesTypeTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2324301 - Disclosure - Consolidated Obligations (Tables)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsTables",
     "shortName": "Consolidated Obligations (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfActivityInAffordableHousingProgramObligationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2325301 - Disclosure - Affordable Housing Program (Tables)",
     "role": "http://www.fhlbboston.com/role/AffordableHousingProgramTables",
     "shortName": "Affordable Housing Program (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfActivityInAffordableHousingProgramObligationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2327301 - Disclosure - Capital (Tables)",
     "role": "http://www.fhlbboston.com/role/CapitalTables",
     "shortName": "Capital (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2328301 - Disclosure - Accumulated Other Comprehensive Loss (Tables)",
     "role": "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossTables",
     "shortName": "Accumulated Other Comprehensive Loss (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNetFundedStatusTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2329301 - Disclosure - Employee Retirement Plans (Tables)",
     "role": "http://www.fhlbboston.com/role/EmployeeRetirementPlansTables",
     "shortName": "Employee Retirement Plans (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNetFundedStatusTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2330301 - Disclosure - Fair Values (Tables)",
     "role": "http://www.fhlbboston.com/role/FairValuesTables",
     "shortName": "Fair Values (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:OffBalanceSheetCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2331301 - Disclosure - Commitments and Contingencies (Tables)",
     "role": "http://www.fhlbboston.com/role/CommitmentsAndContingenciesTables",
     "shortName": "Commitments and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:OffBalanceSheetCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:ScheduleofTransactionswithShareholdersTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2332301 - Disclosure - Transactions with Shareholders (Tables)",
     "role": "http://www.fhlbboston.com/role/TransactionsWithShareholdersTables",
     "shortName": "Transactions with Shareholders (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:ScheduleofTransactionswithShareholdersTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "fhlbbost:NumberOfFederalHomeLoanBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2406401 - Disclosure - Background Information Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/BackgroundInformationNarrativesDetails",
     "shortName": "Background Information Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "fhlbbost:NumberOfFederalHomeLoanBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1003000 - Statement - Statements of Comprehensive Income",
     "role": "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome",
     "shortName": "Statements of Comprehensive Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SecuritiesPurchasedUnderAgreementsToResell",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2408403 - Disclosure - Summary of Significant Accounting Policies Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails",
     "shortName": "Summary of Significant Accounting Policies Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-8",
      "lang": null,
      "name": "fhlbbost:SecuritiesPurchasedUnderAgreementsToResellAverageBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "I2019Q1OperatingLeases_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_us-gaap_AccountingStandardsUpdate201602Member",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409401 - Disclosure - Recently Issued and Adopted Accounting Guidance Leases (Details)",
     "role": "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceLeasesDetails",
     "shortName": "Recently Issued and Adopted Accounting Guidance Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "I2019Q1OperatingLeases_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_us-gaap_AccountingStandardsUpdate201602Member",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AverageCollectedCashBalancesWithCommercialBanksFederalHomeLoanBank",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410401 - Disclosure - Cash and Due From Bank - Narrative (Details)",
     "role": "http://www.fhlbboston.com/role/CashAndDueFromBankNarrativeDetails",
     "shortName": "Cash and Due From Bank - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AverageCollectedCashBalancesWithCommercialBanksFederalHomeLoanBank",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TradingSecurities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412402 - Disclosure - Trading Securities (Details)",
     "role": "http://www.fhlbboston.com/role/TradingSecuritiesDetails",
     "shortName": "Trading Securities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_FinancialInstrumentAxis_fhlbbost_OtherThanMortgageBackedSecuritiesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:TradingSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:GainLossOnInvestmentsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesTradingUnrealizedGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412403 - Disclosure - Trading Securities - Net Unrealized (Losses) Gains (Details)",
     "role": "http://www.fhlbboston.com/role/TradingSecuritiesNetUnrealizedLossesGainsDetails",
     "shortName": "Trading Securities - Net Unrealized (Losses) Gains (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:GainLossOnInvestmentsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesTradingUnrealizedGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2413402 - Disclosure - Available-for-Sale Securities Major Security Types (Details)",
     "role": "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
     "shortName": "Available-for-Sale Securities Major Security Types (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2413403 - Disclosure - Available-for-Sale Securities Securities with Unrealized Losses (Details)",
     "role": "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
     "shortName": "Available-for-Sale Securities Securities with Unrealized Losses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2413404 - Disclosure - Available-for-Sale Securities Redemption Terms (Details)",
     "role": "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails",
     "shortName": "Available-for-Sale Securities Redemption Terms (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_FinancialInstrumentAxis_fhlbbost_OtherThanMortgageBackedSecuritiesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414402 - Disclosure - Held-to-Maturity Securities Major Security Types (Details)",
     "role": "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
     "shortName": "Held-to-Maturity Securities Major Security Types (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:HeldToMaturitySecuritiesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AccumulatedOtherComprehensiveIncomeLossOtherThanTemporaryImpairmentNotCreditLossNetOfTaxHeldtomaturityDebtSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414403 - Disclosure - Held-to-Maturity Securities Fair Value and Unrealized Losses (Details)",
     "role": "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
     "shortName": "Held-to-Maturity Securities Fair Value and Unrealized Losses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1004000 - Statement - Statements of Capital",
     "role": "http://www.fhlbboston.com/role/StatementsOfCapital",
     "shortName": "Statements of Capital",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodValueNewIssues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414404 - Disclosure - Held-to-Maturity Securities Redemption Terms (Details)",
     "role": "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails",
     "shortName": "Held-to-Maturity Securities Redemption Terms (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_FinancialInstrumentAxis_fhlbbost_OtherThanMortgageBackedSecuritiesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:RealizedGainLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfHeldToMaturitySecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414405 - Disclosure - Held-to-Maturity Securities Proceeds from Sale and Gross Gains and Losses on HTM Securities (Details)",
     "role": "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesProceedsFromSaleAndGrossGainsAndLossesOnHtmSecuritiesDetails",
     "shortName": "Held-to-Maturity Securities Proceeds from Sale and Gross Gains and Losses on HTM Securities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:RealizedGainLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfHeldToMaturitySecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "fhlbbost:ProjectedChangeInTheTwelveMonthHousingPricePercentageRateMaximumDecrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2415402 - Disclosure - Other-Than-Temporary Impairment Projected Home Prices Recoveries (Details)",
     "role": "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentProjectedHomePricesRecoveriesDetails",
     "shortName": "Other-Than-Temporary Impairment Projected Home Prices Recoveries (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "fhlbbost:ProjectedChangeInTheTwelveMonthHousingPricePercentageRateMaximumDecrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "fhlbbost:ScheduleOfSignificantInputsInMeasuringOtherThanTemporaryImpairmentsRecognizedInEarningsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_FinancialInstrumentAxis_us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_us-gaap_InternalCreditAssessmentAxis_fhlbbost_AltAMember_us-gaap_InvestmentTypeAxis_us-gaap_ResidentialMortgageBackedSecuritiesMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "fhlbbost:OtherThanTemporarilyImpairedSecuritiesDuringPeriodUnpaidPrincipalBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2415403 - Disclosure - Other-Than-Temporary Impairment Significant Inputs (Details)",
     "role": "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails",
     "shortName": "Other-Than-Temporary Impairment Significant Inputs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "fhlbbost:ScheduleOfSignificantInputsInMeasuringOtherThanTemporaryImpairmentsRecognizedInEarningsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_FinancialInstrumentAxis_us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_us-gaap_InternalCreditAssessmentAxis_fhlbbost_AltAMember_us-gaap_InvestmentTypeAxis_us-gaap_ResidentialMortgageBackedSecuritiesMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "fhlbbost:OtherThanTemporarilyImpairedSecuritiesDuringPeriodUnpaidPrincipalBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "fhlbbost:ScheduleOfOtherThanTemporarilyImpairedChargesIncurredDuringLifeOfSecuritiesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_FinancialInstrumentAxis_us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_us-gaap_InformationByCategoryOfDebtSecurityAxis_us-gaap_HeldtomaturitySecuritiesMember_us-gaap_InvestmentTypeAxis_us-gaap_ResidentialMortgageBackedSecuritiesMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "fhlbbost:OtherThanTemporarilyImpairedSecuritiesUnpaidPrincipalBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2415404 - Disclosure - Other-Than-Temporary Impairment OTTI Credit Losses Recognized During Life of Security (Details)",
     "role": "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
     "shortName": "Other-Than-Temporary Impairment OTTI Credit Losses Recognized During Life of Security (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "fhlbbost:ScheduleOfOtherThanTemporarilyImpairedChargesIncurredDuringLifeOfSecuritiesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_FinancialInstrumentAxis_us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_us-gaap_InformationByCategoryOfDebtSecurityAxis_us-gaap_HeldtomaturitySecuritiesMember_us-gaap_InvestmentTypeAxis_us-gaap_ResidentialMortgageBackedSecuritiesMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "fhlbbost:OtherThanTemporarilyImpairedSecuritiesUnpaidPrincipalBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2018Q4_us-gaap_InformationByCategoryOfDebtSecurityAxis_us-gaap_HeldtomaturitySecuritiesMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2415405 - Disclosure - Other-Than-Temporary Impairment Roll-forward of Amounts Related to Credit Losses Recognized in Earnings (Details)",
     "role": "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails",
     "shortName": "Other-Than-Temporary Impairment Roll-forward of Amounts Related to Credit Losses Recognized in Earnings (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2016Q4_us-gaap_InformationByCategoryOfDebtSecurityAxis_us-gaap_HeldtomaturitySecuritiesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepositLiabilitiesReclassifiedAsLoansReceivable1",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416402 - Disclosure - Advances - Outstanding by Year of Contractual Maturity (Details)",
     "role": "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails",
     "shortName": "Advances - Outstanding by Year of Contractual Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FederalHomeLoanBankAdvancesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesMaturitiesSummaryInNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepositLiabilitiesReclassifiedAsLoansReceivable1",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416403 - Disclosure - Advances - Outstanding by Year of Contractual Maturity or Next Call Date (Details)",
     "role": "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails",
     "shortName": "Advances - Outstanding by Year of Contractual Maturity or Next Call Date (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepositLiabilitiesReclassifiedAsLoansReceivable1",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416404 - Disclosure - Advances - Outstanding by the Earlier of Contractual Maturity or Next Put Date (Details)",
     "role": "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails",
     "shortName": "Advances - Outstanding by the Earlier of Contractual Maturity or Next Put Date (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesFixedRateUnderOneYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416405 - Disclosure - Advances - Interest-Rate-Payment Terms (Details)",
     "role": "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails",
     "shortName": "Advances - Interest-Rate-Payment Terms (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesFixedRateUnderOneYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1005000 - Statement - Statements of Cash Flows",
     "role": "http://www.fhlbboston.com/role/StatementsOfCashFlows",
     "shortName": "Statements of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesOutstandingGreaterThanOneBillionDollarsPerBorrowerAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416406 - Disclosure - Advances - Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/AdvancesNarrativesDetails",
     "shortName": "Advances - Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesOutstandingGreaterThanOneBillionDollarsPerBorrowerAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "fhlbbost:PrepaymentFeesOnFederalHomeLoanBankAdvancesReceived",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416407 - Disclosure - Advances Advances - Prepayment Fees (Details)",
     "role": "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails",
     "shortName": "Advances Advances - Prepayment Fees (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "fhlbbost:PrepaymentFeesOnFederalHomeLoanBankAdvancesReceived",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "fhlbbost:MortgageLoansHeldForPortfolioTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableBeforeFeesGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418402 - Disclosure - Mortgage Loans Held for Portfolio (Details)",
     "role": "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
     "shortName": "Mortgage Loans Held for Portfolio (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "fhlbbost:MortgageLoansHeldForPortfolioTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableBeforeFeesGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestmentPastDue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419402 - Disclosure - Allowance for credit losses - Credit Quality Indicators (Details)",
     "role": "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails",
     "shortName": "Allowance for credit losses - Credit Quality Indicators (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestmentPastDue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "fhlbbost:FirstLossAccount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419403 - Disclosure - Allowance for credit losses - Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/AllowanceForCreditLossesNarrativesDetails",
     "shortName": "Allowance for credit losses - Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "fhlbbost:FirstLossAccount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419404 - Disclosure - Allowance for credit losses - Allowance Rollforward (Details)",
     "role": "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails",
     "shortName": "Allowance for credit losses - Allowance Rollforward (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_ConventionalLoanMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AllowanceForLoanAndLeaseLossesWriteoffsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422402 - Disclosure - Derivatives and Hedging Activities Derivatives in Statement of Condition (Details)",
     "role": "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
     "shortName": "Derivatives and Hedging Activities Derivatives in Statement of Condition (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestIncomeFederalHomeLoanBankAdvances",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422403 - Disclosure - Derivatives and Hedging Activities Derivatives in Statement of Income and Impact on Interest Income/Expense (Details)",
     "role": "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
     "shortName": "Derivatives and Hedging Activities Derivatives in Statement of Income and Impact on Interest Income/Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD_fhlbbost_DerivativeItemHedgedAxis_fhlbbost_AdvancesMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_IncomeStatementLocationAxis_us-gaap_InterestIncomeMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD_fhlbbost_DerivativeItemHedgedAxis_fhlbbost_ConsolidatedObligationsBondsMember_us-gaap_DerivativeInstrumentRiskAxis_fhlbbost_FutureStartingSwapsMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember_us-gaap_IncomeStatementLocationAxis_us-gaap_InterestExpenseMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestRateCashFlowHedgeGainLossReclassifiedToEarningsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422404 - Disclosure - Derivatives and Hedging Activities Net Gains (Losses) on Cash Flow Hedging Relationships (Details)",
     "role": "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails",
     "shortName": "Derivatives and Hedging Activities Net Gains (Losses) on Cash Flow Hedging Relationships (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD_fhlbbost_DerivativeItemHedgedAxis_fhlbbost_ConsolidatedObligationsBondsMember_us-gaap_DerivativeInstrumentRiskAxis_fhlbbost_FutureStartingSwapsMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember_us-gaap_IncomeStatementLocationAxis_us-gaap_InterestExpenseMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestRateCashFlowHedgeGainLossReclassifiedToEarningsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_BalanceSheetLocationAxis_fhlbbost_AdvancesMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HedgedAssetFairValueHedge",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422405 - Disclosure - Derivatives and Hedging Activities Basis Adjustments for Fair Value Hedges (Details)",
     "role": "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails",
     "shortName": "Derivatives and Hedging Activities Basis Adjustments for Fair Value Hedges (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_BalanceSheetLocationAxis_fhlbbost_AdvancesMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HedgedAssetFairValueHedge",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2106100 - Disclosure - Background Information",
     "role": "http://www.fhlbboston.com/role/BackgroundInformation",
     "shortName": "Background Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422406 - Disclosure - Derivatives and Hedging Activities Derivatives in Statement of Income and Impact on Other Income/Loss (Details)",
     "role": "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
     "shortName": "Derivatives and Hedging Activities Derivatives in Statement of Income and Impact on Other Income/Loss (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2018Q4YTD_us-gaap_IncomeStatementLocationAxis_us-gaap_GainLossOnDerivativeInstrumentsMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:GainLossOnFairValueHedgeIneffectivenessNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurringNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422407 - Disclosure - Derivatives and Hedging Activities Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails",
     "shortName": "Derivatives and Hedging Activities Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurringNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422408 - Disclosure - Derivatives and Hedging Activities Fair Value of Derivative Instruments With or Without Legal Rights of Offset (Details)",
     "role": "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
     "shortName": "Derivatives and Hedging Activities Fair Value of Derivative Instruments With or Without Legal Rights of Offset (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:OffsettingLiabilitiesTableTextBlock",
       "us-gaap:OffsettingAssetsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:WeightedAverageRateInterestBearingDomesticDepositsOverTime",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2423402 - Disclosure - Deposits Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/DepositsNarrativesDetails",
     "shortName": "Deposits Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:WeightedAverageRateInterestBearingDomesticDepositsOverTime",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-11",
      "first": true,
      "lang": null,
      "name": "us-gaap:ObligationWithJointAndSeveralLiabilityArrangementAmountOutstanding",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424402 - Disclosure - Consolidated Obligations CO Bonds - Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsNarrativesDetails",
     "shortName": "Consolidated Obligations CO Bonds - Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-11",
      "first": true,
      "lang": null,
      "name": "us-gaap:ObligationWithJointAndSeveralLiabilityArrangementAmountOutstanding",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424403 - Disclosure - Consolidated Obligations CO Bonds - Year of Contractual Maturity (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails",
     "shortName": "Consolidated Obligations CO Bonds - Year of Contractual Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "4",
      "lang": null,
      "name": "fhlbbost:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonthsWeightedAverageInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424404 - Disclosure - Consolidated Obligations CO Bonds - Outstanding By Call Features (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeaturesDetails",
     "shortName": "Consolidated Obligations CO Bonds - Outstanding By Call Features (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_LongtermDebtTypeAxis_fhlbbost_FederalHomeLoanBankConsolidatedObligationsWithNoRelatedOptionMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424405 - Disclosure - Consolidated Obligations CO Bonds - Year of Contractual Maturity or Next Call Date (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails",
     "shortName": "Consolidated Obligations CO Bonds - Year of Contractual Maturity or Next Call Date (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_LongtermDebtTypeAxis_fhlbbost_EarlierOfContractualMaturityOrNextCallDateMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424406 - Disclosure - Consolidated Obligations CO Bonds - Interest-Rate-Payment Type (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsInterestRatePaymentTypeDetails",
     "shortName": "Consolidated Obligations CO Bonds - Interest-Rate-Payment Type (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_LongtermDebtTypeAxis_fhlbbost_FixedInterestRateMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankConsolidatedObligationsDiscountNotes",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424407 - Disclosure - Consolidated Obligations CO - Discount Notes (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoDiscountNotesDetails",
     "shortName": "Consolidated Obligations CO - Discount Notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2108100 - Disclosure - Summary of Significant Accounting Policies",
     "role": "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfActivityInAffordableHousingProgramObligationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AffordableHousingProgramObligation",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425402 - Disclosure - Affordable Housing Program Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails",
     "shortName": "Affordable Housing Program Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfActivityInAffordableHousingProgramObligationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "lang": null,
      "name": "fhlbbost:AffordableHousingProgramsSubsidyForBelowMarketRateAdvanceDisbursements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "fhlbbost:RegulatoryCapitalRatioRequired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427402 - Disclosure - Capital Requirements (Details)",
     "role": "http://www.fhlbboston.com/role/CapitalRequirementsDetails",
     "shortName": "Capital Requirements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "fhlbbost:RegulatoryCapitalRatioRequired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseCapitalSecurities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427403 - Disclosure - Capital Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
     "shortName": "Capital Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "D2017Q3RepurchaseExcessStock",
      "decimals": "0",
      "lang": null,
      "name": "fhlbbost:MinimumRepurchaseOfExcessCapitalStock",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427404 - Disclosure - Capital Mandatorily Redeemable Capital Stock (Details)",
     "role": "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockDetails",
     "shortName": "Capital Mandatorily Redeemable Capital Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:FinancialInstrumentsSubjectToMandatoryRedemptionNumberOfStockholders1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:MandatorilyRedeemableCapitalStockTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancialInstrumentsSubjectToMandatoryRedemptionPastContractualRedemptionDateDueToOutstandingActivity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427405 - Disclosure - Capital Mandatorily Redeemable Capital Stock by Maturity (Details)",
     "role": "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails",
     "shortName": "Capital Mandatorily Redeemable Capital Stock by Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:MandatorilyRedeemableCapitalStockTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancialInstrumentsSubjectToMandatoryRedemptionPastContractualRedemptionDateDueToOutstandingActivity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseOtherLongTermDebt",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2428402 - Disclosure - Accumulated Other Comprehensive Loss (Details)",
     "role": "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
     "shortName": "Accumulated Other Comprehensive Loss (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2016Q4_us-gaap_StatementEquityComponentsAxis_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfNetFundedStatusTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_MultiemployerPlanNameAxis_fhlbbost_PentegraDefinedBenefitPlanMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanNetPeriodicBenefitCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429402 - Disclosure - Employee Retirement Plans - Net Pension Cost and Funded Status (Details)",
     "role": "http://www.fhlbboston.com/role/EmployeeRetirementPlansNetPensionCostAndFundedStatusDetails",
     "shortName": "Employee Retirement Plans - Net Pension Cost and Funded Status (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfNetFundedStatusTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_MultiemployerPlanNameAxis_fhlbbost_PentegraDefinedBenefitPlanMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanNetPeriodicBenefitCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ChangesInProjectedBenefitObligationsFairValueOfPlanAssetsAndFundedStatusOfPlanTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2018Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanBenefitObligation",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429403 - Disclosure - Employee Retirement Plans - Nonqualified Supplemental Defined Benefit and Postretirement Benefits (Details)",
     "role": "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails",
     "shortName": "Employee Retirement Plans - Nonqualified Supplemental Defined Benefit and Postretirement Benefits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ChangesInProjectedBenefitObligationsFairValueOfPlanAssetsAndFundedStatusOfPlanTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_RetirementPlanTypeAxis_us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanActuarialGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfNetPeriodicBenefitCostNotYetRecognizedTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429404 - Disclosure - Employee Retirement Plans - Amounts Recognized in Accumulated Other Comprehensive Loss (Details)",
     "role": "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails",
     "shortName": "Employee Retirement Plans - Amounts Recognized in Accumulated Other Comprehensive Loss (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfNetPeriodicBenefitCostNotYetRecognizedTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FI2019Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429405 - Disclosure - Employees Retirement Plans - Components of net periodic benefit cost and other amounts recognized in AOCL (Details)",
     "role": "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails",
     "shortName": "Employees Retirement Plans - Components of net periodic benefit cost and other amounts recognized in AOCL (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfNetBenefitCostsTableTextBlock",
       "us-gaap:ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10k12312019.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_RetirementPlanTypeAxis_us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanAmortizationOfPriorServiceCostCredit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 115,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover page."
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r489"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in CCYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is CCYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r488"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Container to assemble all relevant information about each entity associated with the document instance",
        "label": "Entities [Table]",
        "terseLabel": "Entities [Table]"
       }
      }
     },
     "localname": "EntitiesTable",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]",
        "terseLabel": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails",
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Entity Information [Line Items]",
        "terseLabel": "Entity Information [Line Items]"
       }
      }
     },
     "localname": "EntityInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityPublicFloat": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
        "label": "Entity Public Float",
        "terseLabel": "Entity Public Float"
       }
      }
     },
     "localname": "EntityPublicFloat",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number",
        "verboseLabel": "Employer Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers",
        "terseLabel": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails",
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "fhlbbost_AccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Line Items] for Accounting Policies [Table]",
        "label": "Accounting Policies [Line Items]",
        "terseLabel": "Accounting Policies [Line Items]"
       }
      }
     },
     "localname": "AccountingPoliciesLineItems",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_AccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accounting Policies [Table]",
        "label": "Accounting Policies [Table]",
        "terseLabel": "Accounting Policies [Table]"
       }
      }
     },
     "localname": "AccountingPoliciesTable",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_AccumulatedOtherComprehensiveIncomeLossBeforeTax1RollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A rollforward is a reconciliation of a concept from the beginning of a period to the end of a period [Roll Forward]",
        "label": "Accumulated Other Comprehensive Income (Loss) Before Tax1 [Roll Forward]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss) Before Tax1 [Roll Forward]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossBeforeTax1RollForward",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_AdjustableInterestRateMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial instruments with a variable or adjustable rate of interest.",
        "label": "Adjustable Interest Rate [Member]",
        "terseLabel": "Simple variable-rate [Member]"
       }
      }
     },
     "localname": "AdjustableInterestRateMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsInterestRatePaymentTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_AdvancesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Advances [Abstract]",
        "label": "Advances [Abstract]"
       }
      }
     },
     "localname": "AdvancesAbstract",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "xbrltype": "stringItemType"
    },
    "fhlbbost_AdvancesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Advances (Loans) by the Federal Home Loan Bank (FHLBank) to member financial institutions. May also include former member financial institutions.",
        "label": "Advances [Member]",
        "terseLabel": "Advances [Member]"
       }
      }
     },
     "localname": "AdvancesMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_AffordableHousingProgramAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Affordable Housing Program [Abstract]",
        "label": "Affordable Housing Program [Abstract]"
       }
      }
     },
     "localname": "AffordableHousingProgramAbstract",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "xbrltype": "stringItemType"
    },
    "fhlbbost_AffordableHousingProgramContributionRequirementAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Maximum contribution amount to the Affordable Housing Program (AHP) calculated based on net income before interest expense associated with mandatorily redeemable capital stock and the assessment for AHP, but after any assessment for the Resolution Fiunding Corporation",
        "label": "Affordable Housing Program Contribution Requirement, Amount",
        "terseLabel": "Affordable Housing Program Contribution Requirement, Amount"
       }
      }
     },
     "localname": "AffordableHousingProgramContributionRequirementAmount",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_AffordableHousingProgramContributionRequirementPercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Maximum contribution percentage to the Affordable Housing Program (AHP) calculated based on net income before interest expense associated with mandatorily redeemable capital stock and the assessment for AHP, but after any assessment for the Resolution Fiunding Corporation",
        "label": "Affordable Housing Program Contribution Requirement Percent",
        "terseLabel": "Affordable Housing Program Contribution Requirement, Percent"
       }
      }
     },
     "localname": "AffordableHousingProgramContributionRequirementPercent",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_AffordableHousingProgramLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Line Items] for Affordable Housing Program [Table]",
        "label": "Affordable Housing Program [Line Items]",
        "terseLabel": "Affordable Housing Program [Line Items]"
       }
      }
     },
     "localname": "AffordableHousingProgramLineItems",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_AffordableHousingProgramTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Affordable Housing Program [Table]",
        "label": "Affordable Housing Program [Table]",
        "terseLabel": "Affordable Housing Program [Table]"
       }
      }
     },
     "localname": "AffordableHousingProgramTable",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_AffordableHousingProgramsReturnOfPreviouslyDisbursedGrantsAndSubsidies": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Affordable Housing Programs Return of Previously Disbursed Grants and Subsidies",
        "label": "Affordable Housing Programs Return of Previously Disbursed Grants and Subsidies",
        "terseLabel": "Return of previously disbursed grants and subsidies"
       }
      }
     },
     "localname": "AffordableHousingProgramsReturnOfPreviouslyDisbursedGrantsAndSubsidies",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_AffordableHousingProgramsSubsidyForBelowMarketRateAdvanceDisbursements": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Affordable Housing Programs Subsidy for Below Market Rate Advance Disbursements",
        "label": "Affordable Housing Programs Subsidy for Below Market Rate Advance Disbursements",
        "negatedTerseLabel": "AHP subsidy for AHP advance disbursements"
       }
      }
     },
     "localname": "AffordableHousingProgramsSubsidyForBelowMarketRateAdvanceDisbursements",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_AllOtherAdvancesGreaterThanOvernightMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "All Other Advances Greater Than Overnight [Member]",
        "label": "All Other Advances Greater Than Overnight [Member]",
        "terseLabel": "All other advances greater than overnight [Member]"
       }
      }
     },
     "localname": "AllOtherAdvancesGreaterThanOvernightMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_AltAMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities classified as Alt-A that used alternative or non-conforming procedures or documenation in underwriting.  Typically classified between Prime and Subprime in credit quality characteristics",
        "label": "Alt-A [Member]",
        "terseLabel": "Alt-A [Member]"
       }
      }
     },
     "localname": "AltAMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_AmortizationAccretionofDiscontinuedFairValueHedgingRelationships": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortization accretion of discontinued fair value hedging relationships.",
        "label": "Amortization Accretion of Discontinued Fair Value Hedging Relationships",
        "negatedTerseLabel": "Amortization/accretion of discontinued fair-value hedging relationships"
       }
      }
     },
     "localname": "AmortizationAccretionofDiscontinuedFairValueHedgingRelationships",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_AvailableForSaleSecuritiesDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the entire disclosure related to available-for-sale securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities. A debt security represents a creditor relationship with an enterprise. Debt securities include, among other items, U.S. Treasury securities, U.S. government securities, municipal securities, corporate bonds, convertible debt, commercial paper, and all securitized debt instruments. An equity security represents an ownership interest in an enterprise or the right to acquire or dispose of an ownership interest in an enterprise at fixed or determinable prices. Equity securities include, among other items, common stock, certain preferred stock, warrant rights, call options, and put options, but do not include convertible debt.",
        "label": "Available-for-Sale Securities Disclosure [Text Block]",
        "terseLabel": "Available-for-Sale Securities Disclosure [Text Block]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDisclosureTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecurities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_BackgroundInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Background Information [Abstract]",
        "label": "Background Information [Abstract]"
       }
      }
     },
     "localname": "BackgroundInformationAbstract",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "xbrltype": "stringItemType"
    },
    "fhlbbost_BondsTransferredToOtherFederalHomeLoanBanksAtParValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of cash outflow from transfers and assumptions of primary liability of consolidated obligations to another Federal Home Loan Bank (FHLBank).",
        "label": "Bonds Transferred To Other Federal Home Loan Banks At Par Value",
        "terseLabel": "Bonds transferred to other FHLBanks - par amount"
       }
      }
     },
     "localname": "BondsTransferredToOtherFederalHomeLoanBanksAtParValue",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_CapitalStockPercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Federal Home Loan Bank member's outstanding capital stock as a percentage of total Federal Home Loan Bank stock outstanding",
        "label": "Capital Stock, Percent",
        "terseLabel": "Percent of Total Capital Stock Outstanding"
       }
      }
     },
     "localname": "CapitalStockPercent",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_CertainMemberAssetsEligibleToSecureAdvancesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Certain member assets eligible to secure advances [Member]",
        "label": "Certain member assets eligible to secure advances [Member]",
        "terseLabel": "Certain member assets eligible to secure advances [Member]"
       }
      }
     },
     "localname": "CertainMemberAssetsEligibleToSecureAdvancesMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_CertainMemberAssetsEligibleToSecureAdvancesPriortoJanuary162019Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Certain member assets eligible to secure advances prior to January 16, 2019.",
        "label": "Certain Member Assets Eligible To Secure Advances Prior to January 16, 2019 [Member]",
        "terseLabel": "Certain member assets rligible to secure advances prior to January 16, 2019 [Member]"
       }
      }
     },
     "localname": "CertainMemberAssetsEligibleToSecureAdvancesPriortoJanuary162019Member",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_CitizensBankN.A.Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Citizens Bank N.A.",
        "label": "Citizens Bank N.A. [Member]",
        "terseLabel": "Citizens Bank, N.A. [Member]"
       }
      }
     },
     "localname": "CitizensBankN.A.Member",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_ClassBStockPurchaseRequirement": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Class B stock purchase requirement to support outstanding activity between us and the member",
        "label": "Class B stock purchase requirement",
        "terseLabel": "Class B stock purchase requirement"
       }
      }
     },
     "localname": "ClassBStockPurchaseRequirement",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_CommitmentFeesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commitment Fees Policy [Policy Text Block]",
        "label": "Commitment Fees Policy [Policy Text Block]",
        "terseLabel": "Commitment Fees, Policy"
       }
      }
     },
     "localname": "CommitmentFeesPolicyPolicyTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_ConcentrationRiskBenchmarkAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total Federal Home Loan Bank advances outstanding to one member in excess of $1 billion, benchmark amount",
        "label": "Concentration Risk, Benchmark Amount",
        "terseLabel": "Minimum amount of advances outstanding per borrower"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkAmount",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_ConsolidatedObligationsBondsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of joint and several obligations consisting of bonds issued by Federal Home Loan Banks (FHLBanks).",
        "label": "Consolidated Obligations Bonds [Member]",
        "terseLabel": "Unsettled CO bonds, at par [Member]",
        "verboseLabel": "COs - bonds [Member]"
       }
      }
     },
     "localname": "ConsolidatedObligationsBondsMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_ConsolidatedObligationsDiscountNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of joint and several obligations consisting of discount notes issued by Federal Home Loan Banks (FHLBanks).",
        "label": "Consolidated Obligations Discount Notes [Member]",
        "terseLabel": "COs - Discount notes [Member]",
        "verboseLabel": "Unsettled CO discount notes, at par [Member]"
       }
      }
     },
     "localname": "ConsolidatedObligationsDiscountNotesMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_ContributionRequirementRetainedEarningsAppropriated": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Contribution requirement for restricted retained earnings amounting to one percent of the Federal Home Loan Bank's average balance of outstanding consolidated obligations (excluding fair-value adjustments) for the calendar quarter",
        "label": "Contribution Requirement Retained Earnings Appropriated",
        "terseLabel": "Contribution requirement - Restricted Retained Earnings"
       }
      }
     },
     "localname": "ContributionRequirementRetainedEarningsAppropriated",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_CreditRiskExposureAndSecurityTermsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Credit Risk Exposure and Security Terms [Abstract]",
        "label": "Credit Risk Exposure and Security Terms [Abstract]",
        "terseLabel": "Credit Risk Exposure and Security Terms [Abstract]"
       }
      }
     },
     "localname": "CreditRiskExposureAndSecurityTermsAbstract",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_DebtGross": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Including current and noncurrent portions, aggregate carrying principal amount of borrowings as of the balance sheet date before deducting unamortized discount or premiums (if any).",
        "label": "Debt, Gross",
        "verboseLabel": "Par value of other FHLBanks' outstanding COs for which we are jointly and severally liable"
       }
      }
     },
     "localname": "DebtGross",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DefinedBenefitPlanEmployerFundedPercentage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the market value of the employer portion of plan assets divided by the employer portion of the funding target.",
        "label": "Defined Benefit Plan, Employer Funded Percentage",
        "verboseLabel": "Our funded status as of July 1"
       }
      }
     },
     "localname": "DefinedBenefitPlanEmployerFundedPercentage",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNetPensionCostAndFundedStatusDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_DerivativeCollateralObligationToReturnSecuritiesThatCanBeSoldOrRepledged": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of obligation to return securities collateral that can be sold or repledged under master netting arrangements that have not been offset against derivative assets.",
        "label": "Derivative, Collateral, Obligation To Return Securities That Can Be Sold Or Repledged",
        "negatedTerseLabel": "Derivative Assets, fair value of securities pledged as collateral than can be sold or repledged"
       }
      }
     },
     "localname": "DerivativeCollateralObligationToReturnSecuritiesThatCanBeSoldOrRepledged",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DerivativeCollateralObligationToReturnSecuritiesThatCannotBeSoldOrRepledged": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of obligation to return securities collateral that cannot be sold or repledged under master netting arrangements that have not been offset against derivative assets.",
        "label": "Derivative, Collateral, Obligation To Return Securities That Cannot Be Sold Or Repledged",
        "negatedTerseLabel": "Derivative Assets, fair value of securities pledged as collateral that cannot be sold or repledged"
       }
      }
     },
     "localname": "DerivativeCollateralObligationToReturnSecuritiesThatCannotBeSoldOrRepledged",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DerivativeCollateralRightToReclaimSecuritiesThatCanBeSoldOrRepledged": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of right to reclaim securities collateral that can be sold or repledged under master netting arrangements that have not been offset against derivative liabilities.",
        "label": "Derivative, Collateral, Right To Reclaim Securities That Can Be Sold Or Repledged",
        "terseLabel": "Derivative Liabilities, fair value of securities pledged as collateral that can be sold or repledged"
       }
      }
     },
     "localname": "DerivativeCollateralRightToReclaimSecuritiesThatCanBeSoldOrRepledged",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DerivativeCollateralRightToReclaimSecuritiesThatCannotBeSoldOrRepledged": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of right to reclaim securities collateral that cannot be sold or repledged under master netting arrangements that have not been offset against derivative liabilities.",
        "label": "Derivative, Collateral, Right To Reclaim Securities That Cannot Be Sold Or Repledged",
        "terseLabel": "Derivative Liabilities, fair value of securities pledged as collateral that cannot be sold or repledged"
       }
      }
     },
     "localname": "DerivativeCollateralRightToReclaimSecuritiesThatCannotBeSoldOrRepledged",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DerivativeInstrumentsOtherGainLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_GainLossOnDerivativeInstrumentsNetPretax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other net gain (loss) on derivative instruments recognized in earnings during the period.",
        "label": "Derivative Instruments, Other Gain (Loss)",
        "terseLabel": "Other",
        "verboseLabel": "Price alignment interest"
       }
      }
     },
     "localname": "DerivativeInstrumentsOtherGainLoss",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DerivativeItemHedgedAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of derivative item hedged",
        "label": "Derivative Item Hedged [Axis]",
        "terseLabel": "Derivative Item Hedged [Axis]"
       }
      }
     },
     "localname": "DerivativeItemHedgedAxis",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_DerivativeItemHedgedDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Domain] for Information by type of derivative item hedged",
        "label": "Derivative Item Hedged [Domain]",
        "terseLabel": "Derivative Item Hedged [Domain]"
       }
      }
     },
     "localname": "DerivativeItemHedgedDomain",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_DerivativeLiabilitiesAdditionalNetExposureCollateralPledgedtoCounterpartiesinExcessofNetLiabilities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Additional net exposure due to collateral pledged to counterparties in excess of net liabilities",
        "label": "Derivative Liabilities, Additional Net Exposure, Collateral Pledged to Counterparties in Excess of Net Liabilities",
        "terseLabel": "Derivative Liabilities, additional net exposure, collateral pledged to counterparties in excess of net liabilities"
       }
      }
     },
     "localname": "DerivativeLiabilitiesAdditionalNetExposureCollateralPledgedtoCounterpartiesinExcessofNetLiabilities",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DirectorsFinancialInstitutionsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Members whose officers or directors serve on our board of directors.",
        "label": "Directors' Financial Institutions [Member]",
        "terseLabel": "Directors' Financial Institutions [Member]"
       }
      }
     },
     "localname": "DirectorsFinancialInstitutionsMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_DividendsPerShareCashDeclaredAnnualizedRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Rate is calculated on an annualized basis",
        "label": "Dividends, Per Share, Cash Declared, Annualized Rate",
        "terseLabel": "Annualized rate of cash dividend"
       }
      }
     },
     "localname": "DividendsPerShareCashDeclaredAnnualizedRate",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_EarlierOfContractualMaturityOrNextCallDateMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt obligation categorized by earlier of contractual maturity or next call date.",
        "label": "Earlier Of Contractual Maturity Or Next Call Date [Member]",
        "terseLabel": "Earlier Of Contractual Maturity Or Next Call Date [Member]"
       }
      }
     },
     "localname": "EarlierOfContractualMaturityOrNextCallDateMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_ExcessCapitalStock": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of Class B capital stock in excess of the total stock-investment requirement",
        "label": "Excess capital stock",
        "terseLabel": "Excess capital stock"
       }
      }
     },
     "localname": "ExcessCapitalStock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_ExcessCapitalStockToTotalAssetsPercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Excess capital stock to total assets, percent",
        "label": "Excess capital stock to total assets, percent",
        "terseLabel": "Excess capital stock to total assets, percent"
       }
      }
     },
     "localname": "ExcessCapitalStockToTotalAssetsPercent",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_ExcessCapitalStockToTotalCapitalStockOutstandingPercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Excess capital stock to total capital stock outstanding, percent",
        "label": "Excess capital stock to total capital stock outstanding, percent",
        "terseLabel": "Excess capital stock to total capital stock outstanding, percent"
       }
      }
     },
     "localname": "ExcessCapitalStockToTotalCapitalStockOutstandingPercent",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_FairValueDisclosureOffBalanceSheetRisksFaceAmountExpiringAfterOneYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The fair value of financial liabilities, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition, which expire after one year of the balance sheet date.",
        "label": "Fair Value Disclosure, Off-balance Sheet Risks, Face Amount, Expiring After One Year",
        "terseLabel": "Off-balance-sheet Commitments Expiring After One Year"
       }
      }
     },
     "localname": "FairValueDisclosureOffBalanceSheetRisksFaceAmountExpiringAfterOneYear",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FairValueDisclosureOffBalanceSheetRisksFaceAmountExpiringWithinOneYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The fair value of financial liabilities, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition, which expire within one year of the balance sheet date.",
        "label": "Fair Value Disclosure, Off-balance Sheet Risks, Face Amount, Expiring Within One Year",
        "terseLabel": "Off-balance-sheet Commitments Expiring Within One Year"
       }
      }
     },
     "localname": "FairValueDisclosureOffBalanceSheetRisksFaceAmountExpiringWithinOneYear",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FederalFundsSoldFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of funds lent to other depository institutions, securities brokers, or securities dealers in the form of Federal Funds sold",
        "label": "Federal Funds Sold, Fair Value Disclosure",
        "terseLabel": "Federal funds sold"
       }
      }
     },
     "localname": "FederalFundsSoldFairValueDisclosure",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FederalHomeLoanBankAdvancesFairMarketValueAdjustmentofEmbeddedDerivatives": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvances",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Federal Home Loan Bank Advances, Fair Market Value Adjustment of Embedded Derivatives",
        "label": "Federal Home Loan Bank Advances, Fair Market Value Adjustment of Embedded Derivatives",
        "terseLabel": "Fair value of bifurcated derivatives"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFairMarketValueAdjustmentofEmbeddedDerivatives",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FederalHomeLoanBankAdvancesFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents Federal Home Loan Bank loans (advances)",
        "label": "Federal Home Loan Bank Advances, Fair Value Disclosure",
        "terseLabel": "Advances"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFairValueDisclosure",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FederalHomeLoanBankAdvancesMaturities": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Federal Home Loan Bank Advances Maturities",
        "label": "Federal Home Loan Bank Advances Maturities",
        "terseLabel": "Federal Home Loan Bank Advances Maturities"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturities",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "fhlbbost_FederalHomeLoanBankAdvancesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Federal Home Loan Bank Advances, Policy [Policy Text Block]",
        "label": "Federal Home Loan Bank Advances , Policy [Policy Text Block]",
        "terseLabel": "Federal Home Loan Bank Advances , Policy"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesPolicyPolicyTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_FederalHomeLoanBankAdvancesPrepaid": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Federal Home Loan Bank, Advances, Prepaid",
        "label": "Federal Home Loan Bank, Advances, Prepaid",
        "terseLabel": "Federal Home Loan Bank, advances, prepaid"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesPrepaid",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FederalHomeLoanBankAdvancesPrepaymentFeesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Federal Home Loan Bank Advances Prepayment Fees",
        "label": "Federal Home Loan Bank Advances Prepayment Fees [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesPrepaymentFeesAbstract",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_FederalHomeLoanBankAdvancesPrepaymentFeesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for prepayments of the Bank's advances.",
        "label": "Federal Home Loan Bank Advances, Prepayment Fees, Policy [Policy Text Block]",
        "terseLabel": "Federal Home Loan Bank Advances, Prepayment Fees, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesPrepaymentFeesPolicyPolicyTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_FederalHomeLoanBankAssessmentsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Federal Home Loan Bank Assessments, Policy [Policy Text Block]",
        "label": "Federal Home Loan Bank Assessments, Policy [Policy Text Block]",
        "terseLabel": "Federal Home Loan Bank Assessments, Policy"
       }
      }
     },
     "localname": "FederalHomeLoanBankAssessmentsPolicyPolicyTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_FederalHomeLoanBankConsolidatedObligationsBondsAdjustmentforHedgingActivities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) recognized in earnings for the cumulative period of the debt obligation in a fair value hedge, as offset by the gain (loss) on the hedging instrument to the extent that the fair value hedge is determined to be effective.",
        "label": "Federal Home Loan Bank, Consolidated Obligations, Bonds, Adjustment for Hedging Activities",
        "terseLabel": "Hedging adjustments"
       }
      }
     },
     "localname": "FederalHomeLoanBankConsolidatedObligationsBondsAdjustmentforHedgingActivities",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FederalHomeLoanBankConsolidatedObligationsCallableOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Right, but not the obligation, the Federal Home Loan Bank has to return the loan to the issuer at par without a prepayment penalty.",
        "label": "Federal Home Loan Bank, Consolidated Obligations, Callable Option [Member]",
        "terseLabel": "Callable [Member]"
       }
      }
     },
     "localname": "FederalHomeLoanBankConsolidatedObligationsCallableOptionMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeaturesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_FederalHomeLoanBankConsolidatedObligationsWithNoRelatedOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial instrument of the Federal Home Loan Bank that does not have an option associated with it.",
        "label": "Federal Home Loan Bank, Consolidated Obligations, With No Related Option [Member]",
        "terseLabel": "Noncallable and nonputable [Member]"
       }
      }
     },
     "localname": "FederalHomeLoanBankConsolidatedObligationsWithNoRelatedOptionMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeaturesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_FederalHomeLoanBankMemberAdvancesasaPercentageofTotalAdvancesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents Federal Home Loan Bank Member advances outstanding for a member or defined group of members as a percentage of total Federal Home Loan Banks advances outstanding as of the balance sheet date.",
        "label": "Federal Home Loan Bank Member Advances as a Percentage of Total Advances Outstanding",
        "terseLabel": "Percentage of Total Par Value of Advances"
       }
      }
     },
     "localname": "FederalHomeLoanBankMemberAdvancesasaPercentageofTotalAdvancesOutstanding",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_FhlbankProductsAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "FHLBank products [Axis]",
        "label": "FHLBank products [Axis]",
        "terseLabel": "FHLBank products [Axis]"
       }
      }
     },
     "localname": "FhlbankProductsAxis",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_FhlbankProductsDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Domain] for FHLBank products [Axis]",
        "label": "FHLBank products [Domain]",
        "terseLabel": "FHLBank products [Domain]"
       }
      }
     },
     "localname": "FhlbankProductsDomain",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_FhlbanksMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents all 11 Federal Home Loan Banks [Member]",
        "label": "FHLBanks [Member]",
        "terseLabel": "FHLBanks [Member]"
       }
      }
     },
     "localname": "FhlbanksMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails",
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_FinancialInstrumentsOwnedAndPledgedAsCollateral": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial Instruments Owned And Pledged As Collateral",
        "label": "Financial Instruments Owned And Pledged As Collateral",
        "terseLabel": "Held-to-maturity securities - pledged as collateral that may be repledged (a)"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedAndPledgedAsCollateral",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FinancialInstrumentsSubjectToMandatorilyRedemptionRedeemableAfterYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of mandatorily redeemable capital stock maturing after year five following the date of the latest balance sheet.",
        "label": "FinancialInstrumentsSubjectToMandatorilyRedemptionRedeemableAfterYearFive",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FinancialInstrumentsSubjectToMandatorilyRedemptionRedeemableAfterYearFive",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FirstLossAccount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "First Loss Account - A memo account for determining the first layer of losses to be absorbed by the investor in a mortgage loan portfolio",
        "label": "First Loss Account",
        "terseLabel": "Maximum Exposure Under First Loss Account"
       }
      }
     },
     "localname": "FirstLossAccount",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FixedInterestRateMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial instruments with a fixed rate of interest.",
        "label": "Fixed Interest Rate [Member]",
        "terseLabel": "Fixed-rate [Member]"
       }
      }
     },
     "localname": "FixedInterestRateMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsInterestRatePaymentTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_FutureStartingSwapsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Future starting swaps [Member]",
        "label": "Future starting swaps [Member]",
        "terseLabel": "Forward-start interest-rate swaps [Member]",
        "verboseLabel": "Forward-start interest rate swaps [Member]"
       }
      }
     },
     "localname": "FutureStartingSwapsMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_GainLossOnFairValueHedgesInNetInterestIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Gain (loss) on fair value hedges in net interest income.",
        "label": "Gain Loss On Fair Value Hedges In Net Interest Income",
        "terseLabel": "Net gain (losses) on derivatives and hedging activities recorded in net interest income"
       }
      }
     },
     "localname": "GainLossOnFairValueHedgesInNetInterestIncome",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_GainLossonFairValueHedgesRecognizedInNetInterestIncomeBeforePriceAlignmentInterest": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total amount of gain (loss) derived from fair value hedges recognized in net interest income in the period before price alignment interest.",
        "label": "Gain (Loss) on Fair Value Hedges Recognized In Net Interest Income Before Price Alignment Interest",
        "terseLabel": "Net changes in fair value before price alignment interest"
       }
      }
     },
     "localname": "GainLossonFairValueHedgesRecognizedInNetInterestIncomeBeforePriceAlignmentInterest",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_GainsOnLitigationSettlementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for realizing and recording litigation settlement gains and treatment of related legal fees.",
        "label": "Gains On Litigation Settlements, Policy [Policy Text Block]",
        "terseLabel": "Gains On Litigation Settlements, Policy"
       }
      }
     },
     "localname": "GainsOnLitigationSettlementsPolicyPolicyTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_HedgedAssetActiveFairValueHedgeCumulativeIncreaseDecrease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cumulative increase (decrease) in fair value of hedged asset in fair value hedge, attributable to hedged risk, active as of the balance sheet date.",
        "label": "Hedged Asset Active Fair Value Hedge Cumulative Increase Decrease",
        "terseLabel": "Basis Adjustments for Active Hedging Relationships Included in Amortized Cost"
       }
      }
     },
     "localname": "HedgedAssetActiveFairValueHedgeCumulativeIncreaseDecrease",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_HedgedLiabilityActiveFairValueHedgeCumulativeIncreaseDecrease": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cumulative increase (decrease) in fair value of hedged liability in fair value hedge, attributable to hedged risk,  active as of the balance sheet date.",
        "label": "Hedged Liability Active Fair Value Hedge Cumulative Increase Decrease",
        "terseLabel": "Basis Adjustments for Active Hedging Relationships Included in Amortized Cost"
       }
      }
     },
     "localname": "HedgedLiabilityActiveFairValueHedgeCumulativeIncreaseDecrease",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_HeldToMaturitySecuritiesDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represnets the entire disclosure related to all investments in certain debt and equity securities for which the enitiy has the positive intent and ability to hold until maturity.",
        "label": "Held-to-maturity Securities Disclosure [Text Block]",
        "terseLabel": "Held-to-maturity Securities Disclosure [Text Block]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDisclosureTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecurities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_InterestBearingDepositsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value disclosure for banks and other depository institutions (including Federal Reserve Banks, if applicable): Interest-bearing deposits in other financial institutions for relatively short periods of time including, for example, certificates of deposits, which are presented separately from cash on the balance sheet",
        "label": "Interest-bearing Deposits, Fair Value Disclosure",
        "terseLabel": "Interest-bearing deposits"
       }
      }
     },
     "localname": "InterestBearingDepositsFairValueDisclosure",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_InterestExpenseOtherShorttermBorrowingsandOtherLongtermDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate amount of interest expense on other Short-term Borrowings and Other Long-term Debt",
        "label": "Interest Expense, Other Short-term Borrowings and Other Long-term Debt",
        "totalLabel": "Total consolidated obligations"
       }
      }
     },
     "localname": "InterestExpenseOtherShorttermBorrowingsandOtherLongtermDebt",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_InterestReceivablePercentOfTotalAccruedInterestReceivableOnAdvances": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Federal Home Loan Bank member's accrued interest receivable as a percentage of total Federal Home Loan Bank accrued interest receivable",
        "label": "Interest Receivable, Percent of Total Accrued Interest Receivable on Advances",
        "terseLabel": "Percent of Total Accrued Interest Receivable on Advances"
       }
      }
     },
     "localname": "InterestReceivablePercentOfTotalAccruedInterestReceivableOnAdvances",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_JointAndSeveralLiabilityPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Joint and Several Liability [Policy Text Block]",
        "label": "Joint and Several Liability Policy [Policy Text Block]",
        "terseLabel": "Joint and Several Liability Policy [Policy Text Block]"
       }
      }
     },
     "localname": "JointAndSeveralLiabilityPolicyPolicyTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_JointCapitalEnhancementAgreementPercentage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents percentage of net income each FHLBank will contribute to a restricted retained earnings account until the balance of that account equals at least one percent of FHLBank's average balance of outstanding consolidated obligations.",
        "label": "Joint Capital Enhancement Agreement Percentage",
        "terseLabel": "Quarterly percentage of net income contributed to restricted retained earnings per the Joint Capital Enhancement Agreement"
       }
      }
     },
     "localname": "JointCapitalEnhancementAgreementPercentage",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_LeaseLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating and finance leases.",
        "label": "Lease Liability",
        "terseLabel": "Lease Liability"
       }
      }
     },
     "localname": "LeaseLiability",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_LeaseRightOfUseAsset": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating and finance lease.",
        "label": "Lease Right Of Use Asset",
        "terseLabel": "Lease Right Of Use Asset"
       }
      }
     },
     "localname": "LeaseRightOfUseAsset",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_LeverageCapitalRatioRequired": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Leverage ratio requirement as defined in the regulations",
        "label": "Leverage Capital Ratio, Required",
        "terseLabel": "Leverage capital-to-assets ratio, Required"
       }
      }
     },
     "localname": "LeverageCapitalRatioRequired",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_LoansAndLeasesReceivableHedgingBasisAdjustment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Reflects the cumulative amount of hedging adjustments that are being amortized into income as an adjustment of yield",
        "label": "Loans and Leases Receivable, Hedging Basis Adjustment",
        "terseLabel": "Deferred derivative gains, net"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableHedgingBasisAdjustment",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_LoansAndLeasesReceivableSeriousDelinquenciesRatio": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financing receivables that are 90 days or more past due or in the process of foreclosure (including past due or current loans in the process of foreclosure) expressed as a percentage of the total loan portfolio class recorded investment amount",
        "label": "Loans and Leases Receivable, Serious Delinquencies Ratio",
        "terseLabel": "Serious delinquency rate"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableSeriousDelinquenciesRatio",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_LoansAndLeasesReceivableUnamortizedDiscounts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Reflects the cumulative amount of discounts from the face amount of loans that are being amortized into income as an adjustment of yield",
        "label": "Loans and Leases Receivable, Unamortized Discounts",
        "negatedTerseLabel": "Discounts"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableUnamortizedDiscounts",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_LoansAndLeasesReceivableUnamortizedPremiums": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Reflects the cumulative amount of premiums over the face amount of loans that are being amortized into income as an adjustment to yield",
        "label": "Loans and Leases Receivable, Unamortized Premiums",
        "terseLabel": "Premiums"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableUnamortizedPremiums",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_LoansReceivableWithFixedRatesofInterestLongTermDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A mortgage loan issued by a bank with a fixed rate of interest and a repayment period of more than 15 years.",
        "label": "Loans Receivable With Fixed Rates of Interest Long Term [Domain]",
        "terseLabel": "Fixed-rate 20- and 30-year single-family mortgages"
       }
      }
     },
     "localname": "LoansReceivableWithFixedRatesofInterestLongTermDomain",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_LoansReceivableWithFixedRatesofInterestMediumTermDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A mortgage loan issued by a bank with a fixed rate of interest and a repayment period of 15 years or less.",
        "label": "Loans Receivable With Fixed Rates of Interest Medium Term [Domain]",
        "terseLabel": "Fixed-rate 15-year single-family mortgages"
       }
      }
     },
     "localname": "LoansReceivableWithFixedRatesofInterestMediumTermDomain",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFiveWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated at point in time applicable to long-debt maturities which are due after five years of the Balance Sheet date.",
        "label": "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFiveWeightedAverageInterestRate",
        "terseLabel": "Thereafter, weighted average rate"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFiveWeightedAverageInterestRate",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonthsWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated at point in time applicable to long-debt maturities which are due within one year of the Balance Sheet date.",
        "label": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonthsWeightedAverageInterestRate",
        "terseLabel": "Due in one year or less, weighted average rate"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonthsWeightedAverageInterestRate",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFiveWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated at point in time applicable to long-debt maturities which are due four to five years of the Balance Sheet date.",
        "label": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFiveWeightedAverageInterestRate",
        "terseLabel": "Due after four years through five years, weighted average rate"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFiveWeightedAverageInterestRate",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFourWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated at point in time applicable to long-debt maturities which are due three to four years of the Balance Sheet date.",
        "label": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFourWeightedAverageInterestRate",
        "terseLabel": "Due after three years through four years, weighted average rate"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFourWeightedAverageInterestRate",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThreeWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated at point in time applicable to long-debt maturities which are due two to three years of the Balance Sheet date.",
        "label": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThreeWeightedAverageInterestRate",
        "terseLabel": "Due after two years through three years, weighted average rate"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThreeWeightedAverageInterestRate",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwoWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated at point in time applicable to long-debt maturities which are due one to two years of the Balance Sheet date.",
        "label": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwoWeightedAverageInterestRate",
        "terseLabel": "Due after one year through two years, weighted average rate"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwoWeightedAverageInterestRate",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_MandatorilyRedeemableCapitalStockRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Mandatorily Redeemable Capital Stock [Roll Forward]",
        "label": "Mandatorily Redeemable Capital Stock [Roll Forward]",
        "terseLabel": "Mandatorily Redeemable Capital Stock [Roll Forward]"
       }
      }
     },
     "localname": "MandatorilyRedeemableCapitalStockRollForward",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_MaximumTermOfCommitmentsToInvestInMortgageLoans": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Maximum Term of Commitments to Invest in Mortgage Loans",
        "label": "Maximum Term of Commitments to Invest in Mortgage Loans",
        "terseLabel": "Maximum term of commitments to invest in mortgage loans"
       }
      }
     },
     "localname": "MaximumTermOfCommitmentsToInvestInMortgageLoans",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "fhlbbost_MemberWithdrawalCancellationFee": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Member cancellation fee (calculated based on the par amount of the shares of Class B stock that is the subject of the redemption notice) to cancel or revoke its written notice of redemption or its notice of withdrawal from membership",
        "label": "Member withdrawal cancellation fee",
        "terseLabel": "Member withdrawal cancellation fee"
       }
      }
     },
     "localname": "MemberWithdrawalCancellationFee",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_MembershipFee": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPF membership fee paid quarterly to the Federal Home Loan Bank of Chicago to participate in the MPF Program.",
        "label": "Membership Fee",
        "terseLabel": "MPF membership fee expense"
       }
      }
     },
     "localname": "MembershipFee",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_MinimumRepurchaseOfExcessCapitalStock": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Repurchase of excess capital stock held by shareholders whose excess stock exceeds the lesser of $10.0 million or 25 percent of the shareholder's total stock investment requirement, subject to a minimum repurchase of $100,000.",
        "label": "Minimum Repurchase Of Excess Capital Stock",
        "terseLabel": "Minimum repurchase of excess capital stock"
       }
      }
     },
     "localname": "MinimumRepurchaseOfExcessCapitalStock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_MortgageLoansHeldForPortfolioTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of mortgage loans held for portfolio (can include unpaid principal balance by collateral or guarantee type, premiums, discounts, deferred loan costs and hedging adjustments).",
        "label": "Mortgage Loans Held For Portfolio [Table Text Block]",
        "terseLabel": "Mortgage Loans Held for Portfolio [Table Text Block]"
       }
      }
     },
     "localname": "MortgageLoansHeldForPortfolioTableTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_MortgageLoansOnRealEstateOriginalContractualTerms": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Mortgage loans, original contractual terms",
        "label": "Mortgage Loans on Real Estate, Original Contractual Terms",
        "terseLabel": "Original contractual terms"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateOriginalContractualTerms",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "fhlbbost_MultiFamilyMortgagebackedSecuritiesOtherUSObligationsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents multi-family mortgage backed securities issued by US government agencies, such as the Government National Mortgage Association (GNMA or Ginnie Mae). Excludes mortgage backed securities issued by Government-sponsored Enterprises (GSEs), which are not backed by the full faith and credit of the US Government.",
        "label": "Multi-Family, Mortgage-backed Securities, Other US Obligations [Member]",
        "terseLabel": "U.S. government guaranteed - multifamily MBS [Member]"
       }
      }
     },
     "localname": "MultiFamilyMortgagebackedSecuritiesOtherUSObligationsMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_MultiplierForDeterminingPermanentCapitalInLeverageCapitalCalculation": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The weighting factor used for permanent capital when calculating total leverage capital.",
        "label": "Multiplier for Determining Permanent Capital in Leverage Capital Calculation",
        "terseLabel": "Multiplier for Determining Permanent Capital in Leverage Capital Calculation"
       }
      }
     },
     "localname": "MultiplierForDeterminingPermanentCapitalInLeverageCapitalCalculation",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "fhlbbost_NetChangesInFairValueOfQualifyingFairValueHedges": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net changes in fair value of qualifying fair value hedges.",
        "label": "Net Changes In Fair Value Of Qualifying Fair Value Hedges",
        "terseLabel": "Less: net changes In fair value"
       }
      }
     },
     "localname": "NetChangesInFairValueOfQualifyingFairValueHedges",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_NetGainsLossesOnQualifyingActiveFairValueHedgingRelationships": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net gains (losses) on qualifying active fair value hedging relationships.",
        "label": "Net Gains Losses On Qualifying Active Fair Value Hedging Relationships",
        "terseLabel": "Net gains (losses) on qualifying fair-value hedging relationships"
       }
      }
     },
     "localname": "NetGainsLossesOnQualifyingActiveFairValueHedgingRelationships",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_NetInterestSettlement": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents interest income/expense on derivatives in qualifying fair-value hedging relationships. Does not include interest income/expense of the respective hedged item.",
        "label": "Net Interest Settlement",
        "terseLabel": "Net interest settlements on derivatives"
       }
      }
     },
     "localname": "NetInterestSettlement",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_NetUnrealizedGainsLosses": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Before tax and reclassification adjustments amount of unrealized holding gain (loss).",
        "label": "Net Unrealized Gains (Losses)",
        "terseLabel": "Net Unrealized Gains (Losses)"
       }
      }
     },
     "localname": "NetUnrealizedGainsLosses",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_NumberOfFederalHomeLoanBanks": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Federal Home Loan Banks",
        "label": "Number of Federal Home Loan Banks",
        "terseLabel": "Number of Federal Home Loan Banks"
       }
      }
     },
     "localname": "NumberOfFederalHomeLoanBanks",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/BackgroundInformationNarrativesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "fhlbbost_NumberOfStatesWeConductBusiness": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of states we conduct business (Massachusetts, Maine, New Hampshire, Rhode Island, Vermont and Connecticut)",
        "label": "Number of states we conduct business",
        "terseLabel": "Number of states we conduct business"
       }
      }
     },
     "localname": "NumberOfStatesWeConductBusiness",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/BackgroundInformationNarrativesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "fhlbbost_OffBalanceSheetCommitmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of short-term or long-term contractual arrangements and obligations that, in accordance with GAAP, are not recognized on the balance sheet or may be recorded on the balance sheet in amounts that are different from the full contract or notional amount of the transactions.",
        "label": "Off-Balance Sheet Commitments [Table Text Block]",
        "terseLabel": "Off-Balance Sheet Commitments [Table Text Block]"
       }
      }
     },
     "localname": "OffBalanceSheetCommitmentsTableTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_OfficeOfFinanceCostAssessedonFederalHomeLoanBankPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy related to amount expensed for a Federal Home Loan Bank's proportionate share of the costs of operating the Office of Finance.",
        "label": "Office Of Finance Cost Assessed on Federal Home Loan Bank [Policy Text Block]",
        "terseLabel": "Office Of Finance Cost Assessed on Federal Home Loan Bank [Policy Text Block]"
       }
      }
     },
     "localname": "OfficeOfFinanceCostAssessedonFederalHomeLoanBankPolicyTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_OtherFhlbanksMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents 11 of the 12 Federal Home Loan Banks, excuding the Federal Home Loan Bank of Boston [Member]",
        "label": "Other FHLBanks [Member]",
        "terseLabel": "Other FHLBanks [Member]"
       }
      }
     },
     "localname": "OtherFhlbanksMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_OtherThanMortgageBackedSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the total of non-mortgage backed debt and equity instruments issued by federal, state or local government and/or by other non-mortgage related entities",
        "label": "Other Than Mortgage-backed Securities [Member]",
        "terseLabel": "Other Than Mortgage-backed Securities [Member]"
       }
      }
     },
     "localname": "OtherThanMortgageBackedSecuritiesMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_OtherThanTemporarilyImpairedSecuritiesAmortizedCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized Cost of securities Other Than Temporarily Impaired during the period",
        "label": "Other Than Temporarily Impaired Securities, Amortized Cost",
        "terseLabel": "Amortized Cost"
       }
      }
     },
     "localname": "OtherThanTemporarilyImpairedSecuritiesAmortizedCost",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_OtherThanTemporarilyImpairedSecuritiesCarryingValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying Value of securities Other Than Temporarily Impaired during the period",
        "label": "Other Than Temporarily Impaired Securities, Carrying Value",
        "terseLabel": "Carrying Value"
       }
      }
     },
     "localname": "OtherThanTemporarilyImpairedSecuritiesCarryingValue",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_OtherThanTemporarilyImpairedSecuritiesDuringPeriodUnpaidPrincipalBalance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Unpaid Principal Balance of securities Other Than Temporarily Impaired during the period",
        "label": "Other Than Temporarily Impaired Securities During Period, Unpaid Principal Balance",
        "terseLabel": "Par Value"
       }
      }
     },
     "localname": "OtherThanTemporarilyImpairedSecuritiesDuringPeriodUnpaidPrincipalBalance",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_OtherThanTemporarilyImpairedSecuritiesFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair Value of securities Other Than Temporarily Impaired during the period",
        "label": "Other Than Temporarily Impaired Securities, Fair Value",
        "terseLabel": "Fair Value"
       }
      }
     },
     "localname": "OtherThanTemporarilyImpairedSecuritiesFairValue",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_OtherThanTemporarilyImpairedSecuritiesUnpaidPrincipalBalance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Unpaid Principal Balance of securities Other Than Temporarily Impaired during the period",
        "label": "Other Than Temporarily Impaired Securities, Unpaid Principal Balance",
        "terseLabel": "Par Value"
       }
      }
     },
     "localname": "OtherThanTemporarilyImpairedSecuritiesUnpaidPrincipalBalance",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_OtherThanTemporaryImpairmentCreditLossesRecognizedDuringLifeOfSecurityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other-than-temporary Impairment Credit Losses Recognized During the Life of the Security [Abstract]",
        "label": "Other-than-temporary Impairment Credit Losses Recognized During the Life of the Security [Abstract]",
        "terseLabel": "Other-than-temporary Impairment Credit Losses Recognized During the Life of the Security [Abstract]"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedDuringLifeOfSecurityAbstract",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeldAssumptionForMeasurementCreditEnhancementsWeightedAverage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The  weighted average rate of credit enhancements used in the model to estimate Other Than Temporary Impairment credit losses recognized In earnings",
        "label": "Other Than Temporary Impairment Credit Losses Recognized In Earnings Credit Losses On Debt Securities Held Assumption For Measurement Credit Enhancements Weighted Average",
        "terseLabel": "Current Credit Enhancement, Weighted Average Percent"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeldAssumptionForMeasurementCreditEnhancementsWeightedAverage",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeldAssumptionForMeasurementLossSeverityWeightedAverage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The estimated weighted average loss severity expected to be incurred on Other Than Temporary Impairment credit losses recognized in earnings",
        "label": "Other Than Temporary Impairment Credit Losses Recognized In Earnings Credit Losses On Debt Securities Held Assumption For Measurement Loss Severity Weighted Average",
        "terseLabel": "Projected Loss Severities, Weighted Average Percent"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeldAssumptionForMeasurementLossSeverityWeightedAverage",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeldAssumptionForMeasurementPrepaymentSpeedWeightedAverage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Estimated weighted average rate of speed of prepayments of principal on financial assets. This is used as a key input and assumption in measuring the fair value of assets or liabilities as of the date of the latest statement of financial position presented",
        "label": "Other Than Temporary Impairment Credit Losses Recognized In Earnings Credit Losses On Debt Securities Held Assumption For Measurement Prepayment Speed Weighted Average",
        "terseLabel": "Project Prepayment Rates - Weighted Average Percent"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeldAssumptionForMeasurementPrepaymentSpeedWeightedAverage",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the entire disclosure related to the amount of other-than-temporary-impairment (OTTI) related to credit losses recognized in earnings including: (a) the beginning balance of the amount related to credit losses on debt securities held by the investor at the beginning of the period for which a portion of an OTTI was recognized in other comprehensive income; (b) additions for the amount related to the credit loss for which an OTTI was not previously recognized; (c) reductions for securities sold during the period (realized); (d) reductions for securities for which the amount previously recognized in other comprehensive income was recognized in earnings because the investor intends to sell the security or more likely than not will be required to sell the security before recovery of its amortized cost basis; (e) additional increases to the amount related to the credit loss for which an OTTI was previously recognized when the investor does not intend to sell the security and it is not more likely than not that the investor will be required to sell the security before recovery of its amortized cost basis; (f) reductions for increases in cash flows expected to be collected that are recognized over the remaining life of the security; and (g) the ending balance of the amount related to credit losses on debt securities held by the entity at the end of the period for which a portion of an OTTI was recognized in other comprehensive income.",
        "label": "Other-than-Temporary Impairment, Credit Losses Recognized in Earnings Disclosure [Text Block]",
        "terseLabel": "Other-than-Temporary Impairment [Text Block]"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsDisclosureTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairment"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_OtherThanTemporaryImpairmentCreditLossesRecognizedinEarningsReductionSecuritiesSoldandMatured": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Reductions, Securities Sold and Matured.",
        "label": "Other Than Temporary Impairment, Credit Losses Recognized in Earnings, Reduction, Securities Sold and Matured",
        "negatedTerseLabel": "Securities sold or matured during the year"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedinEarningsReductionSecuritiesSoldandMatured",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_OtherThanTemporaryImpairmentDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For other-than-temporarily Impaired mortgage backed securities, this disclosure shows projected annualized rates of housing price appreciation recovery for stated future periods of time",
        "label": "Other than Temporary Impairment, Disclosure [Line Items]",
        "terseLabel": "Other than Temporary Impairment, Disclosure [Line Items]"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentDisclosureLineItems",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_OtherThanTemporaryImpairmentLossesInvestmentsNonCreditBasisOfSecuritiesSoldAttributableToParentHeldToMaturitySecuritiesBeforeTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax of other than temporary impairment (OTTI) included in the basis of sold investments in held-to-maturity debt security, attributable to parent entity.",
        "label": "Other Than Temporary Impairment Losses Investments Non Credit Basis Of Securities Sold Attributable To Parent Held To Maturity Securities Before Tax",
        "terseLabel": "Noncredit losses included in basis of securities sold"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsNonCreditBasisOfSecuritiesSoldAttributableToParentHeldToMaturitySecuritiesBeforeTax",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNetQualitativeDisclosuresWeightedAverageDefaultRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the weighted average default rate of the underlying assets in the security that was considered as one of the potential factors in reaching a conclusion that the investments are other than temporarily impaired and the amount of such impairment determined to be related to credit loss recognized in earnings.",
        "label": "Other Than Temporary Impairment Losses, Investments, Portion Recognized In Earnings, Net, Qualitative Disclosures, Weighted Average Default Rate",
        "terseLabel": "Projected Default Rates, Weighted Average Percent"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNetQualitativeDisclosuresWeightedAverageDefaultRate",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_OtherThanTemporaryImpairmentTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other Than Temporary Impairment [Table]",
        "label": "Other Than Temporary Impairment [Table]",
        "terseLabel": "Other Than Temporary Impairment [Table]"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentTable",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_OutstandingLettersOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Outstanding letters of credit [Member]",
        "label": "Outstanding Letters Of Credit [Member]",
        "terseLabel": "Outstanding letters of credit [Member]"
       }
      }
     },
     "localname": "OutstandingLettersOfCreditMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_OvernightAdvancesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Overnight advances [Member]",
        "label": "Overnight advances [Member]",
        "terseLabel": "Overnight advances [Member]"
       }
      }
     },
     "localname": "OvernightAdvancesMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_PentegraDefinedBenefitPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pentegra Defined Benefit Plan [Member]",
        "label": "Pentegra Defined Benefit Plan [Member]",
        "terseLabel": "Pentegra Defined Benefit Plan [Member]"
       }
      }
     },
     "localname": "PentegraDefinedBenefitPlanMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNetPensionCostAndFundedStatusDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_PentegraDefinedBenefitPlanVoluntaryContributionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pentegra Defined Benefit Plan, Voluntary Contribution",
        "label": "Pentegra Defined Benefit Plan, Voluntary Contribution [Member]",
        "terseLabel": "Pentegra Defined Benefit Plan, Voluntary Contribution [Member]"
       }
      }
     },
     "localname": "PentegraDefinedBenefitPlanVoluntaryContributionMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_PercentofAverageBalanceofOutstandingConsolidatedObligationsprescribedpertheJointCapitalEnhancementAgreementForEachPreviousQuarter": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the percentage of FHLBank's average balance of outstanding consolidated obligations necessary to equal the restricted retained earnings minimum.",
        "label": "Percent of Average Balance of Outstanding Consolidated Obligations prescribed per the Joint Capital Enhancement Agreement For Each Previous Quarter",
        "terseLabel": "Percent of average balance of outstanding consolidated obligations prescribed per the Joint Capital Enhancement Agreement for each previous quarter"
       }
      }
     },
     "localname": "PercentofAverageBalanceofOutstandingConsolidatedObligationsprescribedpertheJointCapitalEnhancementAgreementForEachPreviousQuarter",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_PeriodForAdvanceCommitments": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Length of time unused line-of-credit advances are outstanding until.",
        "label": "Period For Advance Commitments",
        "terseLabel": "Period for commitments for unused line-of-credit advances"
       }
      }
     },
     "localname": "PeriodForAdvanceCommitments",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "fhlbbost_PeriodLoanReceivableBecomesNonaccrualStatus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Period Loan Receivable Becomes Nonaccrual Status",
        "label": "Period Loan Receivable Becomes Nonaccrual Status",
        "terseLabel": "Number of days past due, loans at serious delinquent status"
       }
      }
     },
     "localname": "PeriodLoanReceivableBecomesNonaccrualStatus",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "durationStringItemType"
    },
    "fhlbbost_PermanentCapital": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "An entity's regulatory capital amount as defined in the regulations",
        "label": "Permanent Capital",
        "totalLabel": "Total permanent capital"
       }
      }
     },
     "localname": "PermanentCapital",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_PostHaircutValueOfIncrementalCollateralBasedOnIncrementalCreditRatingDowngradesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Post-haircut Value of Incremental Collateral Based on Incremental Credit Rating Downgrades [Table Text Block]",
        "label": "Post-haircut Value of Incremental Collateral Based on Incremental Credit Rating Downgrades [Table Text Block]",
        "terseLabel": "Post-haircut Value of Incremental Collateral Based on Incremental Credit Rating Downgrades [Table Text Block]"
       }
      }
     },
     "localname": "PostHaircutValueOfIncrementalCollateralBasedOnIncrementalCreditRatingDowngradesTableTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_PrepaidFederalHomeLoanBanksAdvancesDeemedToBeLoanModificationsDeferredRecognization": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_PrepaymentFeesOnAdvancesNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of amortization of deferred income from prepayment fees charged for prepayment of certain Federal Home Loan Bank advances before their original maturity",
        "label": "Prepaid Federal Home Loan Banks Advances, Deemed to be Loan Modifications, Deferred Recognization",
        "negatedTerseLabel": "Deferred recognition of prepayment fees received from borrowers on advance prepayments deemed to be loan modifications"
       }
      }
     },
     "localname": "PrepaidFederalHomeLoanBanksAdvancesDeemedToBeLoanModificationsDeferredRecognization",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_PrepaidFederalHomeLoanBanksAdvancesFairValueAdjustments": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_PrepaymentFeesOnAdvancesNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of fair value hedging adjustments on Federal Home Loan Bank Advances",
        "label": "Prepaid Federal Home Loan Banks Advances Fair Value Adjustments",
        "negatedTerseLabel": "Hedging fair-value adjustments on prepaid advances"
       }
      }
     },
     "localname": "PrepaidFederalHomeLoanBanksAdvancesFairValueAdjustments",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_PrepaidFederalHomeLoanBanksAdvancesNetPremiums": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_PrepaymentFeesOnAdvancesNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net premiums and discounts related to Federal Home Loan Bank advances that were prepaid",
        "label": "Prepaid Federal Home Loan Banks Advances, Net Premiums",
        "negatedTerseLabel": "Net discounts (premiums) associated with prepaid advances"
       }
      }
     },
     "localname": "PrepaidFederalHomeLoanBanksAdvancesNetPremiums",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_PrepaidFederalHomeLoanBanksAdvancesPrepaymentFeeOnAdvanceRestructuringsDeemedToBeExtinguishments": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_PrepaymentFeesOnAdvancesNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Prepaid Federal Home Loan Banks Advances, Prepayment Fee On Advance Restructurings Deemed to Be Extinguishments",
        "label": "Prepaid Federal Home Loan Banks Advances, Prepayment Fee On Advance Restructurings Deemed to Be Extinguishments",
        "terseLabel": "Prepayment fees recognized in income on advance restructurings deemed to be extinguishments"
       }
      }
     },
     "localname": "PrepaidFederalHomeLoanBanksAdvancesPrepaymentFeeOnAdvanceRestructuringsDeemedToBeExtinguishments",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_PrepaymentFeesOnFederalHomeLoanBankAdvancesReceived": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PrepaymentFeesOnAdvancesNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Gross amount of prepayment fees received on Federal Home Loan Bank advances",
        "label": "Prepayment Fees on Federal Home Loan Bank Advances Received",
        "terseLabel": "Prepayment fees received from borrowers"
       }
      }
     },
     "localname": "PrepaymentFeesOnFederalHomeLoanBankAdvancesReceived",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_ProceedsFromSaleOfFederalHomeLoanBankAdvancesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "",
        "label": "Proceeds From Sale of Federal Home Loan Bank Advances [Abstract]",
        "terseLabel": "Advances to members:"
       }
      }
     },
     "localname": "ProceedsFromSaleOfFederalHomeLoanBankAdvancesAbstract",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_ProjectedChangeInTheTwelveMonthHousingPricePercentageRateMaximumDecrease": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The  maximum projected  percentage  rate decrease for short term housing prices as forecast by the FHLB OTTI Governance Committee over a 12 month period beginning at the beginning of the quarter.",
        "label": "Projected Change In The Twelve Month Housing Price Percentage Rate, Maximum Decrease",
        "terseLabel": "OTTI Governance Committee projected housing price decline rate over 12-month period"
       }
      }
     },
     "localname": "ProjectedChangeInTheTwelveMonthHousingPricePercentageRateMaximumDecrease",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentProjectedHomePricesRecoveriesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_ProjectedChangeInTheTwelveMonthHousingPricePercentageRateMaximumIncrease": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The maximum projected  percentage rate increase for short term housing prices as forecast by the FHLB OTTI Governance Committee over a 12 month period beginning at the beginning of the quarter.",
        "label": "Projected Change In The Twelve Month Housing Price Percentage Rate, Maximum Increase",
        "terseLabel": "OTTI Governance Committee projected housing price increase rate over 12-month period"
       }
      }
     },
     "localname": "ProjectedChangeInTheTwelveMonthHousingPricePercentageRateMaximumIncrease",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentProjectedHomePricesRecoveriesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_ProjectedHousePriceIncreaseRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The forecasted amount of time to elapse until addition housing price increase would occur",
        "label": "Projected house price increase rate",
        "terseLabel": "Projected short-term house price change - increase rate for majority of markets"
       }
      }
     },
     "localname": "ProjectedHousePriceIncreaseRate",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentProjectedHomePricesRecoveriesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_RatingDowngradeFromAMinusToBelowAMinusMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Rating downgrade from A minus to below A minus credit rating as defined by the external credit rating agency, Standard &amp; Poor's",
        "label": "Rating Downgrade From A-Minus to Below A-Minus [Member]",
        "terseLabel": "Rating Downgrade From AMinus to below AMinus [Member]"
       }
      }
     },
     "localname": "RatingDowngradeFromAMinusToBelowAMinusMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_RatingDowngradeFromAaMinusToAplusOrOrAminusMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Rating downgrade from AA minus to A plus or A, or A minus credit rating as defined by the external credit rating agency, Standard &amp; Poor's",
        "label": "Rating Downgrade From AA Minus to APlus or A or AMinus [Member]",
        "terseLabel": "Rating Downgrade From AAMinus to APlus, A or AMinus [Member]"
       }
      }
     },
     "localname": "RatingDowngradeFromAaMinusToAplusOrOrAminusMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_RatingDowngradeFromAaPlusToAaOrAaMinusMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Rating downgrade from AA plus to AA or AA minus credit rating as defined by the external credit rating agency, Standard &amp; Poor's",
        "label": "Rating Downgrade from AA Plus to AA or AA Minus [Member]",
        "terseLabel": "Rating Downgrade from AAPlus to AA or AAMinus [Member]"
       }
      }
     },
     "localname": "RatingDowngradeFromAaPlusToAaOrAaMinusMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_RealEstateOwnedFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of real estate owned (real estate assets taken in settlement of troubled loans through surrender or foreclosure).",
        "label": "Real Estate Owned, Fair Value Disclosure",
        "terseLabel": "REO"
       }
      }
     },
     "localname": "RealEstateOwnedFairValueDisclosure",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_RegulatorExpensesCostAssessedOnFederalHomeLoanBankPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy related to fees, or assessments, paid to fund the operatiions of the Federal Home Loan Bank's regulator.",
        "label": "Regulator Expenses Cost Assessed On Federal Home Loan Bank [Policy Text Block]",
        "terseLabel": "Regulator Expenses Cost Assessed On Federal Home Loan Bank [Policy Text Block]"
       }
      }
     },
     "localname": "RegulatorExpensesCostAssessedOnFederalHomeLoanBankPolicyTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_RegulatoryCapitalRatioRequired": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Regulatory capital ratio requirement as defined in the regulations",
        "label": "Regulatory Capital Ratio, Required",
        "terseLabel": "Capital-to-asset ratio, Required"
       }
      }
     },
     "localname": "RegulatoryCapitalRatioRequired",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_RelatedPartyTransactionDefinitonOfRelatedPartyCapitalStockPercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percent threshold for disclosing Federal Home Loan Bank members with capital stock holdings in excess of 10 percent of total capital stock outstanding as related parties",
        "label": "Related Party Transaction, Definiton of Related Party Capital Stock, Percent",
        "terseLabel": "Definition of related party, minimum percent",
        "verboseLabel": "Definition of related party, minimum percent"
       }
      }
     },
     "localname": "RelatedPartyTransactionDefinitonOfRelatedPartyCapitalStockPercent",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_ReplacementDerivativesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Replacement Derivatives [Member].",
        "label": "Replacement Derivatives [Member]",
        "terseLabel": "Replacement Derivatives [Member]"
       }
      }
     },
     "localname": "ReplacementDerivativesMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_ReplacementDerivativesNotionalAmount": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Replacement derivatives notional amount.",
        "label": "Replacement Derivatives Notional Amount",
        "terseLabel": "Replacement derivatives notional amount"
       }
      }
     },
     "localname": "ReplacementDerivativesNotionalAmount",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_ReplacementDerivativesSettlementAmount": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Replacement derivatives settlement amount.",
        "label": "Replacement Derivatives Settlement Amount",
        "terseLabel": "Replacement derivatives settlement amount"
       }
      }
     },
     "localname": "ReplacementDerivativesSettlementAmount",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_RepurchaseOfExcessCapitalStockHeldByShareholdersExcessStockExceedsAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Repurchase of excess capital stock held by shareholders whose excess stock exceeds the lesser of $10.0 million or 25 percent of the shareholder's total stock investment requirement (amount).",
        "label": "Repurchase Of Excess Capital Stock Held By Shareholders, Excess Stock Exceeds, Amount",
        "terseLabel": "Repurchase of excess capital stock held by shareholders, excess stock exceeds, amount"
       }
      }
     },
     "localname": "RepurchaseOfExcessCapitalStockHeldByShareholdersExcessStockExceedsAmount",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_RepurchaseOfExcessCapitalStockHeldByShareholdersExcessStockExceedsPercentage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Repurchase of excess capital stock held by shareholders whose excess stock exceeds the lesser of $10.0 million or 25 percent of the shareholder's total stock investment requirement (percentage).",
        "label": "Repurchase Of Excess Capital Stock Held By Shareholders, Excess Stock Exceeds, Percentage",
        "terseLabel": "Repurchase of excess capital stock held by shareholders, excess stock exceeds, percentage"
       }
      }
     },
     "localname": "RepurchaseOfExcessCapitalStockHeldByShareholdersExcessStockExceedsPercentage",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_RestrictedRetainedEarningsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure describing the Joint Capital Enhancement Agreement requiring each Federal Home Loan Bank to contribute 20% of its quarterly earnings to a separate restricted retained earnings account.",
        "label": "Restricted Retained Earnings [Policy Text Block]",
        "terseLabel": "Restricted Retained Earnings [Policy Text Block]"
       }
      }
     },
     "localname": "RestrictedRetainedEarningsPolicyTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_RightOfUseAssetObtainedInExchangeForLeaseLiability": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating and finance lease liability.",
        "label": "Right Of Use Asset Obtained In Exchange For Lease Liability",
        "terseLabel": "Lease liabilities arising from obtaining right-of-use assets"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForLeaseLiability",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_RiskBasedCapitalRequirementCreditRisk": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FederalHomeLoanBankRiskBasedCapitalRequired",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "An entity's credit risk-based capital amount as defined in the regulations",
        "label": "Risk Based Capital Requirement, Credit Risk",
        "terseLabel": "Credit-risk capital"
       }
      }
     },
     "localname": "RiskBasedCapitalRequirementCreditRisk",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_RiskBasedCapitalRequirementMarketRisk": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FederalHomeLoanBankRiskBasedCapitalRequired",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "An entity's market risk-based capital amount as defined in the regulations",
        "label": "Risk Based Capital Requirement, Market Risk",
        "terseLabel": "Market-risk capital"
       }
      }
     },
     "localname": "RiskBasedCapitalRequirementMarketRisk",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_RiskBasedCapitalRequirementOperationsRisk": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FederalHomeLoanBankRiskBasedCapitalRequired",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "An entity's operations risk-based capital amount as defined in the regulations",
        "label": "Risk Based Capital Requirement, Operations Risk",
        "terseLabel": "Operations-risk capital"
       }
      }
     },
     "localname": "RiskBasedCapitalRequirementOperationsRisk",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_ScheduleOfOtherThanTemporarilyImpairedChargesIncurredDuringLifeOfSecuritiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the balance of total held-to-maturity and available-for-sale securities with OTTI charges during the life of the security.",
        "label": "Schedule of Other Than Temporarily Impaired Charges Incurred During Life of the Securities [Table Text Block]",
        "terseLabel": "Total Securities Other-than-Temporarily Impaired during the Life of the Security [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfOtherThanTemporarilyImpairedChargesIncurredDuringLifeOfSecuritiesTableTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_ScheduleOfShortTermAndLongTermDebtLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table [Line Items]",
        "label": "Schedule of Short-term and Long-term Debt [Line Items]",
        "terseLabel": "Schedule of Short-term and Long-term Debt [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfShortTermAndLongTermDebtLineItems",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeaturesDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_ScheduleOfShortTermAndLongTermDebtTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term and short-term debt instruments or arrangements, including identification, terms, features and other information necessary to a fair presentation. These are debt arrangements that originally required repayment of either less than twelve months or more than twelve months after issuance  [Table]",
        "label": "Schedule of Short-term and Long-term Debt [Table]",
        "terseLabel": "Schedule of Short-term and Long-term Debt [Table]"
       }
      }
     },
     "localname": "ScheduleOfShortTermAndLongTermDebtTable",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeaturesDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_ScheduleOfSignificantInputsInMeasuringOtherThanTemporaryImpairmentsRecognizedInEarningsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Significant inputs used to measure the amount of the credit loss recognized in earnings for those securities for which an other-than-temporary impairment was determined to have occurred as well as the related current credit enhancement.",
        "label": "Schedule of Significant Inputs In Measuring Other Than Temporary Impairments Recognized In Earnings [Table Text Block]",
        "terseLabel": "Significant Inputs for OTTI [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfSignificantInputsInMeasuringOtherThanTemporaryImpairmentsRecognizedInEarningsTableTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_ScheduleofTransactionswithShareholdersLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Line Items] for Members with more than 10 percent of the voting interests of our capital stock outstanding.",
        "label": "Schedule of Transactions with Shareholders [Line Items]",
        "terseLabel": "Transactions with Shareholders [Line Items]"
       }
      }
     },
     "localname": "ScheduleofTransactionswithShareholdersLineItems",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_ScheduleofTransactionswithShareholdersTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Members with more than 10 percent of the voting interests of our capital stock outstanding.",
        "label": "Schedule of Transactions with Shareholders [Table]",
        "terseLabel": "Schedule of Transactions with Shareholders [Table]"
       }
      }
     },
     "localname": "ScheduleofTransactionswithShareholdersTable",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_ScheduleofTransactionswithShareholdersTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of Transactions with Shareholders, Capital Stock [Table Text Block]",
        "label": "Schedule of Transactions with Shareholders [Table Text Block]",
        "terseLabel": "Schedule of Transactions with Shareholders [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleofTransactionswithShareholdersTableTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_ScheduleofTransactionswithShareholdersTransactionswithDirectorsFinancialInstitutionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This table presents the outstanding balances of capital stock, advances, and accrued interest receivable with members whose officers or directors serve on our board of directors.",
        "label": "Schedule of Transactions with Shareholders, Transactions with Directors' Financial Institutions [Table Text Block]",
        "terseLabel": "Schedule of Transactions with Shareholders, Transactions with Directors' Financial Institutions [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleofTransactionswithShareholdersTransactionswithDirectorsFinancialInstitutionsTableTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_ScheduleoftransactionswithshareholdersInterestIncomeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of transactions with shareholders, Interest Income [Table Text Block]",
        "label": "Schedule of transactions with shareholders, Interest Income [Table Text Block]",
        "terseLabel": "Schedule of Transactions with Shareholders, Interest Income [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleoftransactionswithshareholdersInterestIncomeTableTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_SecuritiesPurchasedUnderAgreementsToResellAverageBalance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The average bal;ance of funds outstanding loaned in the form of security resale agreements if the agreement requires the purchaser to resell the identical security purchased or a security that meets the definition of \"substantially the same.\" Also includes purchases of participations in pools of securities that are subject to a resale agreement.",
        "label": "Securities purchased under agreements to resell, average balance",
        "terseLabel": "Securities purchased under agreements to resell, average balance"
       }
      }
     },
     "localname": "SecuritiesPurchasedUnderAgreementsToResellAverageBalance",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_SecuritiesPurchasedUnderAgreementsToResellFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of funds outstanding loaned in the form of security resale agreements",
        "label": "Securities Purchased under Agreements to Resell, Fair Value Disclosure",
        "terseLabel": "Securities purchased under agreements to resell"
       }
      }
     },
     "localname": "SecuritiesPurchasedUnderAgreementsToResellFairValueDisclosure",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_SecurtiesPurchasedUnderAgreementsToResellMaximumAmountOutstandingAtAnyMonthEnd": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securties purchased under agreements to resell, maximum amount outstanding at any month-end",
        "label": "Securties purchased under agreements to resell, maximum amount outstanding at any month-end",
        "terseLabel": "Securties purchased under agreements to resell, maximum amount outstanding at any month-end"
       }
      }
     },
     "localname": "SecurtiesPurchasedUnderAgreementsToResellMaximumAmountOutstandingAtAnyMonthEnd",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_ServiceFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Service revenue earned by a depository institution. Such revenue including, but not limited to, letters of credit fees, correspondent service fees and commitment and loan fees.",
        "label": "Service Fees",
        "terseLabel": "Service fees",
        "verboseLabel": "Fees on letters of credit"
       }
      }
     },
     "localname": "ServiceFees",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_SingleFamilyMortgageBackedSecuritiesOtherUsObligationsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt securities collateralized by single family real estate mortgage loans (mortgages), issued by US government agencies, such as the Government National Mortgage Association (GNMA or Ginnie Mae). Excludes mortgage backed securities issued by Government-sponsored Enterprises (GSEs), which are not backed by the full faith and credit of the US Government.",
        "label": "Single Family, Mortgage-Backed Securities, Other Us Obligations [Member]",
        "terseLabel": "U.S. government-guaranteed - single-family MBS [Member]"
       }
      }
     },
     "localname": "SingleFamilyMortgageBackedSecuritiesOtherUsObligationsMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_StandbyLettersOfCreditCurrentTerms": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Time period a standby letter will expire within the population of standby letters of credit.",
        "label": "Standby Letters Of Credit, Current Terms",
        "terseLabel": "Standby letters of credit, current terms"
       }
      }
     },
     "localname": "StandbyLettersOfCreditCurrentTerms",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "durationStringItemType"
    },
    "fhlbbost_StandbyLettersOfCreditIssuanceCommitmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "An future dated irrevocable undertaking (typically by a financial institution) to guarantee payment of a specified financial obligation [Member]",
        "label": "Standby Letters of Credit Issuance Commitments [Member]",
        "terseLabel": "Standby Letters of Credit Issuance Commitments [Member]"
       }
      }
     },
     "localname": "StandbyLettersOfCreditIssuanceCommitmentsMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_StandbyLettersOfCreditOriginalTerms": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Time period a standby letter will expire within the population of standby letters of credit.",
        "label": "Standby Letters Of Credit Original Terms",
        "terseLabel": "Standby letters of credit, original terms"
       }
      }
     },
     "localname": "StandbyLettersOfCreditOriginalTerms",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "fhlbbost_StepupInterestRateMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial instruments with increasing fixed rates for specified intervals over the life of the instruments.",
        "label": "Step-up Interest Rate [Member]",
        "terseLabel": "Step-up [Member]"
       }
      }
     },
     "localname": "StepupInterestRateMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsInterestRatePaymentTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_SupranationalInstitutionsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This category includes debt securities that are issued by the Inter-American Development Bank",
        "label": "Supranational Institutions [Member]",
        "terseLabel": "Supranational institutions [Member]"
       }
      }
     },
     "localname": "SupranationalInstitutionsMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_TerminatedDerivativeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Terminated derivative [Member]",
        "label": "Terminated Derivative [Member]",
        "terseLabel": "Terminated Derivative [Member]"
       }
      }
     },
     "localname": "TerminatedDerivativeMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_TerminatedDerivativesNotionalAmount": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Terminated derivatives notional amount.",
        "label": "Terminated Derivatives Notional Amount",
        "terseLabel": "Terminated derivatives notional amount"
       }
      }
     },
     "localname": "TerminatedDerivativesNotionalAmount",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_TerminatedDerivativesSettlementAmount": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Terminated derivatives settlement amount.",
        "label": "Terminated Derivatives Settlement Amount",
        "negatedTerseLabel": "Terminated derivatives settlement amount"
       }
      }
     },
     "localname": "TerminatedDerivativesSettlementAmount",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_ThriftBenefitEqualizationPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The Thrift Benefit Equalization Plan is a nonqualified, unfunded deferred compensation plan covering certain of the Federal Home Loan Bank's senior officers and directors [Member]",
        "label": "Thrift Benefit Equalization Plan [Member]",
        "terseLabel": "Thrift Benefit Equalization Plan [Member]"
       }
      }
     },
     "localname": "ThriftBenefitEqualizationPlanMember",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_TradingSecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the entire disclosure related to trading securities (and certain trading assets) which consist of all investments in certain debt and equity securities (and other assets) that are bought and held principally for the purpose of selling them in the near term(thus held for only a short period of time) or for which an entity has elected the fair value option. Trading generally reflects active and frequent buying and selling, and trading securities are generally used with the objective of generating profits on short-term differences in price, but this category of investments may also include items which are not intended to be sold in the near term or for which the fair value option has been elected.",
        "label": "Trading Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "terseLabel": "Trading Securities (and Certain Trading Assets) Disclosure [Text Block]"
       }
      }
     },
     "localname": "TradingSecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TradingSecurities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_TransactionsWIthShareholdersTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of related parties as members with more than 10 percent of the voting interests of our capital stock outstanding",
        "label": "Transactions WIth Shareholders [Text Block]",
        "terseLabel": "Transactions with Shareholders [Text Block]"
       }
      }
     },
     "localname": "TransactionsWIthShareholdersTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholders"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_TransactionsWithOtherFhlbanksAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Transactions with Other FHLBanks [Abstract]",
        "label": "Transactions with Other FHLBanks [Abstract]"
       }
      }
     },
     "localname": "TransactionsWithOtherFhlbanksAbstract",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "xbrltype": "stringItemType"
    },
    "fhlbbost_TransactionsWithOtherFhlbanksLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Line Items] for Transactions with Other FHLBanks [Table]",
        "label": "Transactions with Other FHLBanks [Line Items]",
        "terseLabel": "Transactions with Other FHLBanks [Line Items]"
       }
      }
     },
     "localname": "TransactionsWithOtherFhlbanksLineItems",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_TransactionsWithOtherFhlbanksTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Transactions with Other FHLBanks [Table]",
        "label": "Transactions with Other FHLBanks [Table]",
        "terseLabel": "Transactions with Other FHLBanks [Table]"
       }
      }
     },
     "localname": "TransactionsWithOtherFhlbanksTable",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_TransactionsWithOtherFhlbanksTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Transactions with Other FHlBanks [Text Block]",
        "label": "Transactions with Other FHlBanks [Text Block]",
        "terseLabel": "Transactions with Other FHLBanks [Text Block]"
       }
      }
     },
     "localname": "TransactionsWithOtherFhlbanksTextBlock",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanks"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_TransactionswithShareholdersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Transactions with Shareholders [Abstract]",
        "label": "Transactions with Shareholders [Abstract]"
       }
      }
     },
     "localname": "TransactionswithShareholdersAbstract",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "xbrltype": "stringItemType"
    },
    "fhlbbost_TransactionswithShareholdersDefinitionofShareholderConcentrationsCapitalStockPercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Federal Home Loan Bank members as related parties in excess of 10 percent of total capital stock outstanding.",
        "label": "Transactions with Shareholders, Definition of Shareholder Concentrations Capital Stock, Percent",
        "terseLabel": "Definition of shareholder concentration, minimum percent"
       }
      }
     },
     "localname": "TransactionswithShareholdersDefinitionofShareholderConcentrationsCapitalStockPercent",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_TransactionswithShareholdersMemberandNonmembersDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Transactiosn with Shareholders, Member and Nonmembers [Domain]",
        "label": "Transactions with Shareholders, Member and Nonmembers [Domain]",
        "terseLabel": "Transactions with Shareholders, Member and Nonmembers [Domain]"
       }
      }
     },
     "localname": "TransactionswithShareholdersMemberandNonmembersDomain",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_TransactionswithShareholdersMembersandNonmembersAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Transactions with Shareholders",
        "label": "Transactions with Shareholders, Members and Nonmembers [Axis]",
        "terseLabel": "Transactions with Shareholders, Member and Nonmembers [Axis]"
       }
      }
     },
     "localname": "TransactionswithShareholdersMembersandNonmembersAxis",
     "nsuri": "http://www.fhlbboston.com/20191231",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis": {
     "auth_ref": [
      "r455"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank Branch [Axis]",
        "terseLabel": "Federal Home Loan Bank Branch [Axis]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankStateDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank Branch [Domain]",
        "terseLabel": "Federal Home Loan Bank Branch [Domain]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankStateDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_FederalHomeLoanBankOfChicagoMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank of Chicago [Member]",
        "terseLabel": "Federal Home Loan Bank of Chicago [Member]"
       }
      }
     },
     "localname": "FederalHomeLoanBankOfChicagoMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails",
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentProjectedHomePricesRecoveriesDetails",
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails",
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentProjectedHomePricesRecoveriesDetails",
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis": {
     "auth_ref": [
      "r485",
      "r487"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Real Estate, Type of Property [Axis]",
        "terseLabel": "Real Estate, Type of Property [Axis]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MortgageLoansOnRealEstateLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items]",
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateLineItems",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MortgageLoansOnRealEstateNamePropertyTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Real Estate [Domain]",
        "terseLabel": "Real Estate [Domain]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateNamePropertyTypeDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MortgageLoansOnRealEstateScheduleTable": {
     "auth_ref": [
      "r486"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate Schedule [Table]",
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate Schedule [Table]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateScheduleTable",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MultifamilyMember": {
     "auth_ref": [
      "r485",
      "r487"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Multifamily [Member]",
        "terseLabel": "Multifamily [Member]",
        "verboseLabel": "GSEs - multifamily [Member]"
       }
      }
     },
     "localname": "MultifamilyMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails",
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentProjectedHomePricesRecoveriesDetails",
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails",
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentProjectedHomePricesRecoveriesDetails",
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_SingleFamilyMember": {
     "auth_ref": [
      "r485",
      "r487"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Single Family [Member]",
        "terseLabel": "Single Family [Member]",
        "verboseLabel": "GSEs - single-family [Member]"
       }
      }
     },
     "localname": "SingleFamilyMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingStandardsUpdate201602Member": {
     "auth_ref": [
      "r392"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accounting Standards Update 2016-02 Leases (Topic 842).",
        "label": "Accounting Standards Update 2016-02 [Member]",
        "terseLabel": "Accounting Standards Update 2016-02 [Member]"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201602Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceLeasesDetails",
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis": {
     "auth_ref": [
      "r24"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of receivable.",
        "label": "Receivable Type [Axis]",
        "terseLabel": "Receivable Type [Axis]"
       }
      }
     },
     "localname": "AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember": {
     "auth_ref": [
      "r46",
      "r50",
      "r54",
      "r279",
      "r310"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated other comprehensive (income) loss related to defined benefit plans attributable to the parent.",
        "label": "Accumulated Defined Benefit Plans Adjustment Attributable to Parent [Member]",
        "terseLabel": "Pension and Postretirement Benefits [Member]"
       }
      }
     },
     "localname": "AccumulatedDefinedBenefitPlansAdjustmentMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember": {
     "auth_ref": [
      "r40",
      "r50",
      "r54",
      "r309"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated other comprehensive income (loss) resulting from gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges, attributable to the parent.",
        "label": "Accumulated Net Gain (Loss) from Cash Flow Hedges Attributable to Parent [Member]",
        "verboseLabel": "Net Unrealized Loss Relating to Hedging Activities [Member]"
       }
      }
     },
     "localname": "AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember": {
     "auth_ref": [
      "r41",
      "r42",
      "r44",
      "r50",
      "r54"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), attributable to parent.",
        "label": "AOCI, Accumulated Gain (Loss), Debt Securities, Available-for-sale, Parent [Member]",
        "terseLabel": "Net Unrealized Loss on Available-for-Sale Securities [Member]"
       }
      }
     },
     "localname": "AccumulatedNetUnrealizedInvestmentGainLossMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeFederalHomeLoanBankAssessments": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, before Federal Home Loan Bank (FHLBank) assessments. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners (distributions to owners). Includes, but is not limited to, foreign currency translation, certain pension adjustments, unrealized gain (loss) on certain investments in debt and equity securities, other than temporary impairment (OTTI) loss related to factors other than credit loss on available-for-sale and held-to-maturity debt securities, and increase (decrease) in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), before Federal Home Loan Bank Assessments",
        "terseLabel": "Accumulated other comprehensive loss"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossBeforeFederalHomeLoanBankAssessments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Accumulated Other Comprehensive Income (Loss) [Line Items]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss) [Line Items]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax [Abstract]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossOtherThanTemporaryImpairmentNotCreditLossNetOfTaxHeldtomaturityDebtSecurities": {
     "auth_ref": [
      "r50",
      "r157",
      "r172"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated other comprehensive loss related to portion of other than temporary impairment (OTTI) due to factors other than credit losses on debt securities categorized as held-to-maturity that an entity does not intend to sell and which it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis of the debt security. The amount represented by this item is net of tax, as applicable.",
        "label": "Accumulated Other Comprehensive Income (Loss), Other than Temporary Impairment, Not Credit Loss, Net of Tax, Held-to-maturity, Debt Securities",
        "negatedTerseLabel": "Other-Than-Temporary Impairment Recognized in Accumulated Other Comprehensive Loss"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossOtherThanTemporaryImpairmentNotCreditLossNetOfTaxHeldtomaturityDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about components of accumulated other comprehensive income (loss).",
        "label": "Accumulated Other Comprehensive Income (Loss) [Table]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss) [Table]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r48",
      "r50",
      "r54",
      "r310"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "Accumulated Other Comprehensive Loss",
        "verboseLabel": "Total [Member]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherThanTemporaryImpairmentMember": {
     "auth_ref": [
      "r43",
      "r50",
      "r54",
      "r157",
      "r310"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated other comprehensive loss resulting from other-than-temporary impairments (OTTI) of debt securities if a portion of an other-than-temporary impairment has not been recognized in earnings, attributable to the parent.",
        "label": "Accumulated Other-than-Temporary Impairment Attributable to Parent [Member]",
        "terseLabel": "Noncredit Portion of Other-Than-Temporary Impairment Losses on Held-to-Maturity Securities [Member]"
       }
      }
     },
     "localname": "AccumulatedOtherThanTemporaryImpairmentMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalCollateralAggregateFairValue": {
     "auth_ref": [
      "r346"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate fair value of additional assets that would be required to be posted as collateral for derivative instruments with credit-risk-related contingent features if the credit-risk-related contingent features were triggered at the end of the reporting period.",
        "label": "Additional Collateral, Aggregate Fair Value",
        "terseLabel": "Incremental collateral"
       }
      }
     },
     "localname": "AdditionalCollateralAggregateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r101"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by new accounting pronouncement.",
        "label": "Adjustments for New Accounting Pronouncements [Axis]",
        "terseLabel": "Adjustments for New Accounting Pronouncements [Axis]"
       }
      }
     },
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceLeasesDetails",
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The sum of adjustments which are added to or deducted from net income or loss, including the portion attributable to noncontrolling interest, to reflect cash provided by or used in operating activities, in accordance with the indirect cash flow method.",
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Total adjustments"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AffordableHousingProgramAssessments": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense for Affordable Housing Program (AHP) assessments required by the Federal Home Loan Bank Act of 1932.",
        "label": "Affordable Housing Program Assessments",
        "terseLabel": "AHP assessments",
        "verboseLabel": "AHP expense for the period"
       }
      }
     },
     "localname": "AffordableHousingProgramAssessments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AffordableHousingProgramObligation": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of obligation related to Affordable Housing Program (AHP) assessments required by the Federal Home Loan Bank Act of 1932.",
        "label": "Affordable Housing Program Obligation",
        "periodEndLabel": "Balance at end of year",
        "periodStartLabel": "Balance at beginning of year",
        "terseLabel": "Affordable Housing Program (AHP) payable"
       }
      }
     },
     "localname": "AffordableHousingProgramObligation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AffordableHousingProgramRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Affordable Housing Program [Roll Forward]",
        "terseLabel": "Affordable Housing Program [Roll Forward]"
       }
      }
     },
     "localname": "AffordableHousingProgramRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AffordableHousingProgramTextBlock": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for Affordable Housing Program (AHP).",
        "label": "Affordable Housing Program [Text Block]",
        "terseLabel": "Affordable Housing Program [Text Block]"
       }
      }
     },
     "localname": "AffordableHousingProgramTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgram"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r126",
      "r196"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Rollforward of Allowance for Credit Losses on Mortgage Loans [Table Text Block]"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForCreditLossesTextBlock": {
     "auth_ref": [
      "r152"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for allowance for credit losses.",
        "label": "Allowance for Credit Losses [Text Block]",
        "terseLabel": "Allowance for Credit Losses [Text Block]"
       }
      }
     },
     "localname": "AllowanceForCreditLossesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLosses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Allowance for Loan and Lease Losses [Roll Forward]",
        "terseLabel": "Financing Receivable, Allowance for Credit Losses [Roll Forward]"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesWriteoffsNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after recoveries, of loans and leases that have been written-off.",
        "label": "Allowance for Loan and Lease Losses Write-offs, Net",
        "negatedTerseLabel": "(Charge-offs) recoveries"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesWriteoffsNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax": {
     "auth_ref": [
      "r294"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount recognized in net periodic benefit cost (credit) and other comprehensive (income) loss.",
        "label": "Defined Benefit Plan, Amount Recognized in Net Periodic Benefit Cost (Credit) and Other Comprehensive (Income) Loss, before Tax",
        "terseLabel": "Total amount recognized in net periodic benefit cost and other comprehensive income"
       }
      }
     },
     "localname": "AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r116",
      "r413",
      "r466"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total Assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r364"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "totalLabel": "Total assets carried at fair value"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r164"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax",
        "terseLabel": "Unrealized Gains Amounts Recorded in Accumulated Other Comprehensive Loss"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [
      "r165"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Accumulated Gross Unrealized Loss, before Tax",
        "negatedTerseLabel": "Unrealized Losses Amounts Recorded in Accumulated Other Comprehensive Loss"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "auth_ref": [
      "r162",
      "r209"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Amortized Cost",
        "totalLabel": "Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Available-for-sale [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Available-for-sale Securities, Debt Maturities [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling within One Year, Amortized Cost",
        "terseLabel": "Due in one year or less, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling within One Year, Fair Value",
        "terseLabel": "Due in one year or less, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after rolling tenth fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after 10 Years, Amortized Cost",
        "terseLabel": "Due after 10 years, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after rolling tenth fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after 10 Years, Fair Value",
        "terseLabel": "Due after 10 years, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of investment in debt security, measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in rolling sixth through tenth fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after Five Through Ten Years, Amortized Cost",
        "terseLabel": "Due after five years through 10 years, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security, measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in rolling sixth through tenth fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after Five Through Ten Years, Fair Value",
        "terseLabel": "Due after five years through 10 years, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next rolling fiscal year through fifth year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after One Through Five Years, Amortized Cost",
        "terseLabel": "Due after one year through five years, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security, measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next rolling fiscal year through fifth year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after One Through Five Years, Fair Value",
        "terseLabel": "Due after one year through five years, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost": {
     "auth_ref": [
      "r167"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), without single maturity date and not allocated over maturity grouping.",
        "label": "Debt Securities, Available-for-sale, Maturity, without Single Maturity Date, Amortized Cost",
        "terseLabel": "Amortized Cost MBS"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue": {
     "auth_ref": [
      "r167"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), without single maturity date and not allocated over maturity grouping.",
        "label": "Debt Securities, Available-for-sale, Maturity, without Single Maturity Date, Fair Value",
        "terseLabel": "Fair Value MBS"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r154",
      "r163",
      "r209"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_MarketableSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale",
        "terseLabel": "Available-for-sale securities Fair Value",
        "verboseLabel": "Available-for-sale securities - includes $3,025 pledged as collateral at December 31, 2018, that may be repledged"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableforsaleSecuritiesMember": {
     "auth_ref": [
      "r189"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Available-for-sale Securities [Member]",
        "terseLabel": "Available-for-sale Securities [Member]",
        "verboseLabel": "Available-for-sale Securities [Member]"
       }
      }
     },
     "localname": "AvailableforsaleSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesTables",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AverageCollectedCashBalancesWithCommercialBanksFederalHomeLoanBank": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Average amount of collected cash balances with commercial banks the Federal Home Loan Banks (FHLBanks) maintain in return for certain services.",
        "label": "Average Collected Cash Balances with Commercial Banks, Federal Home Loan Bank",
        "terseLabel": "Average collected cash balances with commercial banks"
       }
      }
     },
     "localname": "AverageCollectedCashBalancesWithCommercialBanksFederalHomeLoanBank",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CashAndDueFromBankNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]",
        "terseLabel": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r324",
      "r328"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]",
        "terseLabel": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfPresentationAndSignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r99"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for the basis of presentation and significant accounting policies concepts. Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).  Accounting policies describe all significant accounting policies of the reporting entity.",
        "label": "Basis of Presentation and Significant Accounting Policies [Text Block]",
        "terseLabel": "Basis of Presentation and Significant Accounting Policies [Text Block]"
       }
      }
     },
     "localname": "BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r382",
      "r383"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measured as reported on the statement of financial position (balance sheet).",
        "label": "Reported Value Measurement [Member]",
        "terseLabel": "Carrying Value [Member]"
       }
      }
     },
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Cash and Cash Equivalents [Abstract]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsDisclosureTextBlock": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for cash and cash equivalent footnotes,  which may include the types of deposits and money market instruments, applicable carrying amounts, restricted amounts and compensating balance arrangements. Cash and equivalents include: (1) currency on hand (2) demand deposits with banks or financial institutions (3) other kinds of accounts that have the general characteristics of demand deposits (4) short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Generally, only investments maturing within three months from the date of acquisition qualify.",
        "label": "Cash and Cash Equivalents Disclosure [Text Block]",
        "terseLabel": "Cash and Cash Equivalents Disclosure [Text Block]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CashAndDueFromBanks"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r1",
      "r84",
      "r90"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Cash Equivalents, Policy"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r411"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For banks and other depository institutions: Includes cash on hand (currency and coin), cash items in process of collection, noninterest bearing deposits due from other financial institutions (including corporate credit unions), and noninterest bearing balances with the Federal Reserve Banks, Federal Home Loan Banks and central banks.",
        "label": "Cash and Due from Banks",
        "terseLabel": "Cash and due from banks"
       }
      }
     },
     "localname": "CashAndDueFromBanks",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndDueFromBanksAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Cash and Due from Banks [Abstract]"
       }
      }
     },
     "localname": "CashAndDueFromBanksAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r74",
      "r81",
      "r89"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "periodEndLabel": "Cash and due from banks at end of the year",
        "periodStartLabel": "Cash and due from banks at beginning of the year"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r74",
      "r386"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "Net increase (decrease) in cash and due from banks"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths": {
     "auth_ref": [
      "r360"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The estimated net amount of existing gains or losses on cash flow hedges at the reporting date expected to be reclassified to earnings within the next 12 months.",
        "label": "Cash Flow Hedge Gain (Loss) to be Reclassified within Twelve Months",
        "terseLabel": "Deferred net losses on derivatives accumulated in other comprehensive loss related to cash flow hedges expected to be reclassified to earnings during the next 12 months"
       }
      }
     },
     "localname": "CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowHedgingMember": {
     "auth_ref": [
      "r320"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Hedge of the exposure to variability in the cash flows of a recognized asset or liability, or of a forecasted transaction, that is attributable to a particular risk.",
        "label": "Cash Flow Hedging [Member]",
        "terseLabel": "Cash Flow Hedging [Member]"
       }
      }
     },
     "localname": "CashFlowHedgingMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1": {
     "auth_ref": [
      "r357"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) from the increase (decrease) in fair value of derivative and nonderivative instruments designated as fair value hedging instruments recognized in the income statement.",
        "label": "Change in Unrealized Gain (Loss) on Fair Value Hedging Instruments",
        "terseLabel": "Derivatives"
       }
      }
     },
     "localname": "ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1": {
     "auth_ref": [
      "r357"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the increase (decrease) in fair value of the hedged item in a fair value hedge recognized in the income statement.",
        "label": "Change in Unrealized Gain (Loss) on Hedged Item in Fair Value Hedge",
        "terseLabel": "Hedge items"
       }
      }
     },
     "localname": "ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ChangesInProjectedBenefitObligationsFairValueOfPlanAssetsAndFundedStatusOfPlanTableTextBlock": {
     "auth_ref": [
      "r263"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the change in the benefit obligation, fair value of plan assets, and funded status of pension plans or other employee benefit plans.",
        "label": "Changes in Projected Benefit Obligations, Fair Value of Plan Assets, and Funded Status of Plan [Table Text Block]",
        "terseLabel": "Change in Benefit Obligation [Table Text Block]"
       }
      }
     },
     "localname": "ChangesInProjectedBenefitObligationsFairValueOfPlanAssetsAndFundedStatusOfPlanTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/CoverPage",
      "http://www.fhlbboston.com/role/StatementsOfCapital",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical",
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralAlreadyPostedAggregateFairValue": {
     "auth_ref": [
      "r345"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate fair value of assets that are already posted, at the end of the reporting period, as collateral for derivative instruments with credit-risk-related contingent features.",
        "label": "Collateral Already Posted, Aggregate Fair Value",
        "terseLabel": "Post-haircut value of collateral already posted"
       }
      }
     },
     "localname": "CollateralAlreadyPostedAggregateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r22",
      "r223",
      "r424",
      "r470"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and contingencies (Note 20)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r222",
      "r230"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies [Text Block]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommitmentsFairValueDisclosure": {
     "auth_ref": [
      "r6"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of arrangements with third parties, including, but not limited to, operating lease arrangement and arrangement in which the entity has agreed to expend funds to procure goods or services, or has agreed to commit resources to supply goods or services.",
        "label": "Commitments, Fair Value Disclosure",
        "negatedTerseLabel": "Other"
       }
      }
     },
     "localname": "CommitmentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsToExtendCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Loan commitments are legally binding commitments to extend credit to a counterparty under certain terms and conditions.",
        "label": "Commitments to Extend Credit [Member]",
        "terseLabel": "Commitments of unused lines of credit - advances [Member]"
       }
      }
     },
     "localname": "CommitmentsToExtendCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonClassAMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Classification of common stock representing ownership interest in a corporation.",
        "label": "Common Class A [Member]",
        "terseLabel": "Common Class A [Member]"
       }
      }
     },
     "localname": "CommonClassAMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonClassBMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Classification of common stock that has different rights than Common Class A, representing ownership interest in a corporation.",
        "label": "Common Class B [Member]",
        "terseLabel": "Common Class B [Member]"
       }
      }
     },
     "localname": "CommonClassBMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/CoverPage",
      "http://www.fhlbboston.com/role/StatementsOfCapital",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical",
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Capital Stock Class B - Putable"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockOtherValueOutstanding": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails": {
       "order": 1.0,
       "parentTag": "fhlbbost_PermanentCapital",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Value of shares of other common stock instruments held by shareholders, such as exchangeable shares. May be all or portion of the number of common shares authorized.",
        "label": "Common Stock, Other Value, Outstanding",
        "netLabel": "Capital Stock Outstanding",
        "terseLabel": "Class B capital stock",
        "verboseLabel": "Capital stock \u2013 Class B \u2013 putable ($100 par value), 18,691 shares and 25,289 shares issued and outstanding at December 31, 2019 and 2018, respectively"
       }
      }
     },
     "localname": "CommonStockOtherValueOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common Stock, Class B, putable par value per share"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common Stock, Class B, putable shares issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r9",
      "r246"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common Stock, Class B, putable shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Retirement Benefits [Abstract]"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in equity after Federal Home Loan Bank (FHLBank) assessments from transactions and other events and circumstances from non-owner sources attributable to the reporting entity. Includes changes in equity except those resulting from investments by owners and distributions to owners. Excludes transactions directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent.",
        "label": "Comprehensive Income (Loss), Net of Federal Home Loan Bank Assessments, Attributable to Parent",
        "terseLabel": "Comprehensive income",
        "totalLabel": "Comprehensive income"
       }
      }
     },
     "localname": "ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital",
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNoteTextBlock": {
     "auth_ref": [
      "r61"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for comprehensive income, which includes, but is not limited to, 1) the amount of income tax expense or benefit allocated to each component of other comprehensive income, including reclassification adjustments, 2) the reclassification adjustments for each classification of other comprehensive income and 3) the ending accumulated balances for each component of comprehensive income.",
        "label": "Comprehensive Income (Loss) Note [Text Block]",
        "terseLabel": "Accumulated Other Comprehensive Loss [Text Block]"
       }
      }
     },
     "localname": "ComprehensiveIncomeNoteTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLoss"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r109",
      "r110",
      "r384",
      "r385"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r109",
      "r110",
      "r384",
      "r385",
      "r474"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]",
        "terseLabel": "Concentration Risk by Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConventionalLoanMember": {
     "auth_ref": [
      "r484"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Mortgage loan issued by a bank, which is typically in an amount between 70 to 80 percent of the purchase price of the property securing the loan, has a repayment period of 15 to 30 years, and requires that certain credit criteria be met.",
        "label": "Conventional Mortgage Loan [Member]",
        "terseLabel": "Conventional Mortgage Loans [Member]",
        "verboseLabel": "Recorded Investment in Conventional Mortgage Loans [Member]"
       }
      }
     },
     "localname": "ConventionalLoanMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails",
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CorporateBondSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This category includes information about long-term debt securities that are issued by either a domestic or foreign corporate business entity with a date certain promise of repayment and a return to the holder for the time value of money (for example, variable or fixed interest, original issue discount).",
        "label": "Corporate Bond Securities [Member]",
        "terseLabel": "Corporate bonds [Member]"
       }
      }
     },
     "localname": "CorporateBondSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r242"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Consolidated Obligations [Text Block]"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r3",
      "r4",
      "r5",
      "r414",
      "r415",
      "r463"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r5",
      "r239",
      "r415",
      "r463"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-term Debt, Gross",
        "terseLabel": "Total par value",
        "totalLabel": "Total par value"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsInterestRatePaymentTypeDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeaturesDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r389",
      "r391"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Par value"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoDiscountNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFairValue": {
     "auth_ref": [
      "r381"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable.",
        "label": "Debt Instrument, Fair Value Disclosure",
        "negatedTerseLabel": "CO Bonds"
       }
      }
     },
     "localname": "DebtInstrumentFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsInterestRatePaymentTypeDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r21",
      "r92",
      "r247",
      "r248",
      "r249",
      "r250",
      "r388",
      "r389",
      "r391",
      "r456"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table]",
        "terseLabel": "Schedule of Long-term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsInterestRatePaymentTypeDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r388",
      "r391"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "negatedTerseLabel": "Discounts"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedPremium": {
     "auth_ref": [
      "r388",
      "r391"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt premium.",
        "label": "Debt Instrument, Unamortized Premium",
        "terseLabel": "Premiums"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedPremium",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtPolicyTextBlock": {
     "auth_ref": [
      "r90",
      "r237"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy related to debt. Includes, but is not limited to, debt issuance costs, the effects of refinancings, method of amortizing debt issuance costs and original issue discount, and classifications of debt.",
        "label": "Debt, Policy [Policy Text Block]",
        "terseLabel": "Debt, Policy"
       }
      }
     },
     "localname": "DebtPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "auth_ref": [
      "r182",
      "r213",
      "r216"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer",
        "verboseLabel": "12 Months or More, Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r182",
      "r213"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
        "negatedLabel": "12 Months or More, Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "auth_ref": [
      "r182",
      "r213",
      "r216"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months",
        "verboseLabel": "Less than 12 Months, Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r182",
      "r213"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
        "negatedLabel": "Less than 12 Months, Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleTable": {
     "auth_ref": [
      "r192"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale [Table]",
        "terseLabel": "Debt Securities, Available-for-sale [Table]"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "auth_ref": [
      "r179",
      "r210",
      "r216"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position",
        "totalLabel": "Total Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r180",
      "r211"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss",
        "negatedTotalLabel": "Total Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock": {
     "auth_ref": [
      "r178",
      "r212",
      "r216"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position, Fair Value [Table Text Block]",
        "terseLabel": "AFS Securities in a Continuous Unrealized Loss Position [Table Text Block]"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesHeldToMaturitySoldAmount": {
     "auth_ref": [
      "r158"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security, measured at amortized cost, sold.",
        "label": "Debt Securities, Held-to-maturity, Sold, Amount",
        "terseLabel": "Amortized cost of held-to-maturity securities",
        "verboseLabel": "Amortized cost of realized gain from sale of held-to-maturity securities"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturitySoldAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesProceedsFromSaleAndGrossGainsAndLossesOnHtmSecuritiesDetails",
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesTradingAndEquitySecuritiesFvNiAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI [Abstract]"
       }
      }
     },
     "localname": "DebtSecuritiesTradingAndEquitySecuritiesFvNiAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtSecuritiesTradingGainLoss": {
     "auth_ref": [
      "r160"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/TradingSecuritiesNetUnrealizedLossesGainsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NetRealizedOrUnrealizedGainLossOnTradingSecurities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unrealized and realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in net income (trading).",
        "label": "Debt Securities, Trading, Gain (Loss)",
        "terseLabel": "Net unrealized and realized gains on trading securities sold or matured during the year"
       }
      }
     },
     "localname": "DebtSecuritiesTradingGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TradingSecuritiesNetUnrealizedLossesGainsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesTradingUnrealizedGainLoss": {
     "auth_ref": [
      "r191"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/TradingSecuritiesNetUnrealizedLossesGainsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetRealizedOrUnrealizedGainLossOnTradingSecurities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in net income (trading).",
        "label": "Debt Securities, Trading, Unrealized Gain (Loss)",
        "terseLabel": "Net unrealized gains (losses) on trading securities held at year end"
       }
      }
     },
     "localname": "DebtSecuritiesTradingUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TradingSecuritiesNetUnrealizedLossesGainsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCompensationArrangementWithIndividualRecordedLiability": {
     "auth_ref": [
      "r253"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The carrying amount of the liability as of the balance sheet date to an individual under a deferred compensation arrangement. This amount may be the result of periodic accruals made over the period of active employment, or reflect termination benefits resulting contractual terms or a death benefit.",
        "label": "Deferred Compensation Arrangement with Individual, Recorded Liability",
        "terseLabel": "Deferred Compensation Arrangement with Individual, Recorded Liability"
       }
      }
     },
     "localname": "DeferredCompensationArrangementWithIndividualRecordedLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredGainLossOnDiscontinuationOfInterestRateFairValueHedge": {
     "auth_ref": [
      "r356"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount as of the balance sheet date of the unamortized adjustment to the carrying value of an interest-bearing hedged item made under an effective interest rate fair value hedge that is amortized upon discontinuation of the interest rate fair value hedge.",
        "label": "Deferred Gain (Loss) on Discontinuation of Interest Rate Fair Value Hedge",
        "terseLabel": "Basis Adjustments for Discontinued Hedging Relationships Included in Amortized Cost"
       }
      }
     },
     "localname": "DeferredGainLossOnDiscontinuationOfInterestRateFairValueHedge",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPensionPlansAndDefinedBenefitPostretirementPlansDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Defined Benefit Plan [Abstract]"
       }
      }
     },
     "localname": "DefinedBenefitPensionPlansAndDefinedBenefitPostretirementPlansDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation": {
     "auth_ref": [
      "r271"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of actuarial present value of benefits attributed to employee service rendered, excluding assumptions about future compensation level.",
        "label": "Defined Benefit Plan, Accumulated Benefit Obligation",
        "terseLabel": "Defined Benefit Plan, Accumulated Benefit Obligation"
       }
      }
     },
     "localname": "DefinedBenefitPlanAccumulatedBenefitObligation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax": {
     "auth_ref": [
      "r47",
      "r50"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of accumulated other comprehensive (income) loss for defined benefit plan, that has not been recognized in net periodic benefit cost (credit).",
        "label": "Defined Benefit Plan, Accumulated Other Comprehensive (Income) Loss, before Tax",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Defined Benefit Plan, Accumulated Other Comprehensive (Income) Loss, before Tax [Abstract]"
       }
      }
     },
     "localname": "DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax": {
     "auth_ref": [
      "r50",
      "r279"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit.",
        "label": "Defined Benefit Plan, Accumulated Other Comprehensive Income (Loss), Gain (Loss), before Tax",
        "negatedTerseLabel": "Net actuarial loss"
       }
      }
     },
     "localname": "DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax": {
     "auth_ref": [
      "r50",
      "r279"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of accumulated other comprehensive (income) loss for cost (credit) of benefit change attributable to participants' prior service from plan amendment or plan initiation of defined benefit plan, that has not been recognized in net periodic benefit cost (credit).",
        "label": "Defined Benefit Plan, Accumulated Other Comprehensive (Income) Loss, Prior Service Cost (Credit), before Tax",
        "terseLabel": "Prior service cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanActuarialGainLoss": {
     "auth_ref": [
      "r261"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) from change in actuarial assumptions which (increases) decreases benefit obligation of defined benefit plan. Assumptions include, but are not limited to, interest, mortality, employee turnover, salary, and temporary deviation from substantive plan.",
        "label": "Defined Benefit Plan, Benefit Obligation, Actuarial Gain (Loss)",
        "negatedLabel": "Actuarial loss"
       }
      }
     },
     "localname": "DefinedBenefitPlanActuarialGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses": {
     "auth_ref": [
      "r276",
      "r291",
      "r294"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in net periodic benefit (cost) credit of defined benefit plan.",
        "label": "Defined Benefit Plan, Amortization of Gain (Loss)",
        "negatedTerseLabel": "Amortization of net actuarial loss",
        "verboseLabel": "Amortization of net actuarial loss"
       }
      }
     },
     "localname": "DefinedBenefitPlanAmortizationOfGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit": {
     "auth_ref": [
      "r277",
      "r292",
      "r294"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of prior service cost (credit) recognized in net periodic benefit cost (credit) of defined benefit plan.",
        "label": "Defined Benefit Plan, Amortization of Prior Service Cost (Credit)",
        "verboseLabel": "Amortization of prior service cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanAmortizationOfPriorServiceCostCredit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Defined Benefit Plan, Amounts Recognized in Other Comprehensive Income (Loss) [Abstract]",
        "terseLabel": "Defined Benefit Plan, Amounts Recognized in Other Comprehensive Income (Loss) [Abstract]"
       }
      }
     },
     "localname": "DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate": {
     "auth_ref": [
      "r281"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average rate for present value of future retirement benefits cash flows, used to determine benefit obligation of defined benefit plan.",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Discount Rate",
        "terseLabel": "Discount rate"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease": {
     "auth_ref": [
      "r282"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average rate increase of compensation, used to determine benefit obligation of defined benefit plan. Plan includes, but is not limited to, pay-related defined benefit plan.",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Rate of Compensation Increase",
        "terseLabel": "Salary increases"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate": {
     "auth_ref": [
      "r281"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average rate for present value of future retirement benefits cash flows, used to determine net periodic benefit cost of defined benefit plan.",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Discount Rate",
        "terseLabel": "Discount rate"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease": {
     "auth_ref": [
      "r282"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average rate of compensation increase used to determine net periodic benefit cost of defined benefit plan. Plan includes, but is not limited to, pay-related defined benefit plan.",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Rate of Compensation Increase",
        "terseLabel": "Salary increases"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanBenefitObligation": {
     "auth_ref": [
      "r257"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DefinedBenefitPlanFundedStatusOfPlan",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of actuarial present value of benefits attributed to service rendered by employee for defined benefit plan.",
        "label": "Defined Benefit Plan, Benefit Obligation",
        "periodEndLabel": "Benefit obligation at end of year",
        "periodStartLabel": "Benefit obligation at beginning of year"
       }
      }
     },
     "localname": "DefinedBenefitPlanBenefitObligation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid": {
     "auth_ref": [
      "r262",
      "r295"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of payment to participant of defined benefit plan which decreases benefit obligation. For pension plan, payment includes, but is not limited to, pension benefits and death benefits. For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services.",
        "label": "Defined Benefit Plan, Benefit Obligation, Benefits Paid",
        "negatedLabel": "Benefits paid"
       }
      }
     },
     "localname": "DefinedBenefitPlanBenefitObligationBenefitsPaid",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Defined Benefit Plan, Change in Benefit Obligation [Roll Forward]",
        "terseLabel": "Change in benefit obligation [Roll Forward]"
       }
      }
     },
     "localname": "DefinedBenefitPlanChangeInBenefitObligationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Defined Benefit Plan, Change in Fair Value of Plan Assets [Roll Forward]",
        "terseLabel": "Change in plan assets [Roll Forward]"
       }
      }
     },
     "localname": "DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanContributionsByEmployer": {
     "auth_ref": [
      "r265",
      "r269",
      "r270",
      "r293",
      "r294"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of contribution received by defined benefit plan from employer which increases plan assets.",
        "label": "Defined Benefit Plan, Plan Assets, Contributions by Employer",
        "terseLabel": "Employer contribution"
       }
      }
     },
     "localname": "DefinedBenefitPlanContributionsByEmployer",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Defined Benefit Plan Disclosure [Line Items]",
        "terseLabel": "Defined Benefit Plan Disclosure [Line Items]"
       }
      }
     },
     "localname": "DefinedBenefitPlanDisclosureLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNetPensionCostAndFundedStatusDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Defined Benefit Plan, Expected Future Benefit Payment [Abstract]"
       }
      }
     },
     "localname": "DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedAmortizationOfGainLossNextFiscalYear": {
     "auth_ref": [
      "r283"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount included in accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan expected to be recognized in net periodic benefit (cost) credit for fiscal year following most recent annual statement of financial position.",
        "label": "Defined Benefit Plan, Expected Amortization of Gain (Loss), Next Fiscal Year",
        "terseLabel": "Defined Benefit Plan, Expected Amortization of Gain (Loss), Next Fiscal Year"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedAmortizationOfGainLossNextFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter": {
     "auth_ref": [
      "r272"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of benefits for defined benefit plan expected to be paid in five fiscal years after fifth fiscal year following latest fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Five Fiscal Years Thereafter",
        "terseLabel": "2025-2029"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths": {
     "auth_ref": [
      "r272"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of benefits for defined benefit plan expected to be paid in next fiscal year following latest fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Next Twelve Months",
        "terseLabel": "2020"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive": {
     "auth_ref": [
      "r272"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of benefits for defined benefit plan expected to be paid in fifth fiscal year following latest fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Five",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour": {
     "auth_ref": [
      "r272"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of benefits for defined benefit plan expected to be paid in fourth fiscal year following latest fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Four",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree": {
     "auth_ref": [
      "r272"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of benefits for defined benefit plan expected to be paid in third fiscal year following latest fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Three",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo": {
     "auth_ref": [
      "r272"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of benefits for defined benefit plan expected to be paid in second fiscal year following latest fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Two",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanFairValueOfPlanAssets": {
     "auth_ref": [
      "r264",
      "r269",
      "r270",
      "r294"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DefinedBenefitPlanFundedStatusOfPlan",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of asset segregated and restricted to provide benefit under defined benefit plan. Asset includes, but is not limited to, stock, bond, other investment, earning from investment, and contribution by employer and employee.",
        "label": "Defined Benefit Plan, Plan Assets, Amount",
        "periodEndLabel": "Fair value of plan assets at end of year",
        "periodStartLabel": "Fair value of plan assets at beginning of year"
       }
      }
     },
     "localname": "DefinedBenefitPlanFairValueOfPlanAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanFundedPercentage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of plan assets to benefit obligation of defined benefit plan.",
        "label": "Defined Benefit Plan, Funded Percentage",
        "verboseLabel": "Pentegra Defined Benefit Plan funded status as of July 1"
       }
      }
     },
     "localname": "DefinedBenefitPlanFundedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNetPensionCostAndFundedStatusDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanFundedStatusOfPlan": {
     "auth_ref": [
      "r256",
      "r268"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of funded (unfunded) status of defined benefit plan, measured as difference between fair value of plan assets and benefit obligation. Includes, but is not limited to, overfunded (underfunded) status.",
        "label": "Defined Benefit Plan, Funded (Unfunded) Status of Plan",
        "totalLabel": "Funded status at end of year"
       }
      }
     },
     "localname": "DefinedBenefitPlanFundedStatusOfPlan",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanInterestCost": {
     "auth_ref": [
      "r260",
      "r275",
      "r290",
      "r294"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cost recognized for passage of time related to defined benefit plan.",
        "label": "Defined Benefit Plan, Interest Cost",
        "terseLabel": "Interest Cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanInterestCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails",
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost": {
     "auth_ref": [
      "r273",
      "r288",
      "r294"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of net periodic benefit cost (credit) for defined benefit plan.",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit)",
        "terseLabel": "Net pension cost",
        "totalLabel": "Net periodic benefit cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNetPensionCostAndFundedStatusDetails",
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) [Abstract]"
       }
      }
     },
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCostAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid": {
     "auth_ref": [
      "r266",
      "r295"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of payment to participant under defined benefit plan which decreases plan assets. For pension plan, payment includes, but is not limited to, pension benefits and death benefits. For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services.",
        "label": "Defined Benefit Plan, Plan Assets, Benefits Paid",
        "negatedTerseLabel": "Benefits paid"
       }
      }
     },
     "localname": "DefinedBenefitPlanPlanAssetsBenefitsPaid",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanServiceCost": {
     "auth_ref": [
      "r258",
      "r274",
      "r289",
      "r294"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cost for actuarial present value of benefits attributed to service rendered by employee for defined benefit plan.",
        "label": "Defined Benefit Plan, Service Cost",
        "terseLabel": "Service Cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanServiceCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails",
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanSettlementsBenefitObligation": {
     "auth_ref": [
      "r259"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of (increase) decrease to benefit obligation of defined benefit plan from irrevocable action relieving primary responsibility for benefit obligation and eliminating risk for obligation and assets used to effect settlement. Includes, but is not limited to, lump-sum cash payment to participant in exchange for right to receive specified benefits, purchase of nonparticipating annuity contract and change from remeasurement.",
        "label": "Defined Benefit Plan, Benefit Obligation, (Increase) Decrease for Settlement",
        "negatedTerseLabel": "Settlements"
       }
      }
     },
     "localname": "DefinedBenefitPlanSettlementsBenefitObligation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanSettlementsPlanAssets": {
     "auth_ref": [
      "r267"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of payment, which decreases plan assets of defined benefit plan, for irrevocable action relieving primary responsibility for benefit obligation and eliminating risk for obligation and assets used to effect settlement. Transaction constituting settlement includes, but is not limited to, making lump-sum cash payment to participant in exchange for their rights to receive specified benefits and purchasing nonparticipating annuity contract.",
        "label": "Defined Benefit Plan, Plan Assets, Payment for Settlement",
        "negatedTerseLabel": "Settlements"
       }
      }
     },
     "localname": "DefinedBenefitPlanSettlementsPlanAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Defined Benefit Plan, Weighted Average Assumptions Used in Calculating Benefit Obligation [Abstract]",
        "terseLabel": "Defined Benefit Plan, Weighted Average Assumptions Used in Calculating Benefit Obligation [Abstract]"
       }
      }
     },
     "localname": "DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Defined Benefit Plan, Weighted Average Assumptions Used in Calculating Net Periodic Benefit Cost [Abstract]",
        "terseLabel": "Defined Benefit Plan, Weighted Average Assumptions Used in Calculating Net Periodic Benefit Cost [Abstract]"
       }
      }
     },
     "localname": "DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable": {
     "auth_ref": [
      "r284",
      "r285",
      "r286",
      "r287",
      "r294"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosures and provisions pertaining to defined benefit pension plans or other postretirement defined benefit plans. The arrangements are generally based on terms and conditions stipulated by the entity, and which contain a promise by the employer to pay certain amounts or awards at designated future dates, including a period after retirement, upon compliance with stipulated requirements. Excludes disclosures pertaining to defined contribution plans.",
        "label": "Defined Benefit Plans and Other Postretirement Benefit Plans Disclosures [Table]",
        "terseLabel": "Defined Benefit Plans and Other Postretirement Benefit Plans Disclosures [Table]"
       }
      }
     },
     "localname": "DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails",
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]",
        "terseLabel": "Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]"
       }
      }
     },
     "localname": "DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails",
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DepositLiabilitiesDisclosuresTextBlock": {
     "auth_ref": [
      "r420",
      "r454"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for deposit liabilities including data and tables. It may include a description of the entity's deposit liabilities, the aggregate amount of time deposits (including certificates of deposit) in denominations of $100,000 or more at the balance sheet date; the aggregate amount of any demand deposits that have been reclassified as loan balances, such as overdrafts, at the balance sheet date; deposits that are received on terms other than those in the normal course of business, the amount of accrued interest on deposit liabilities; securities, mortgage loans or other financial instruments that serve as collateral for deposits; for time deposits having a remaining term of more than one year, the aggregate amount of maturities for each of the five years following the balance sheet date; and the weighted average interest rate for all deposit liabilities held by the entity.",
        "label": "Deposit Liabilities Disclosures [Text Block]",
        "terseLabel": "Deposits [Text Block]"
       }
      }
     },
     "localname": "DepositLiabilitiesDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/Deposits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DepositLiabilitiesReclassifiedAsLoansReceivable1": {
     "auth_ref": [
      "r453"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of deposits held by the entity that have been reclassified as loan balances receivable, for example, but not limited to, overdrafts receivable.",
        "label": "Deposit Liabilities Reclassified as Loans Receivable",
        "terseLabel": "Overdrawn demand-deposit accounts"
       }
      }
     },
     "localname": "DepositLiabilitiesReclassifiedAsLoansReceivable1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositLiabilitiesTypeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of type of deposit liability.",
        "label": "Deposit Liabilities, Type [Table Text Block]",
        "terseLabel": "Interest-bearing and Non-interest-bearing Deposits [Table Text Block]"
       }
      }
     },
     "localname": "DepositLiabilitiesTypeTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DepositsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DepositsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Deposits [Abstract]",
        "terseLabel": "Deposits"
       }
      }
     },
     "localname": "DepositsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DepositsDomestic": {
     "auth_ref": [
      "r420"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate of all domestic interest-bearing and noninterest-bearing deposit liabilities.",
        "label": "Deposits, Domestic",
        "totalLabel": "Total deposits"
       }
      }
     },
     "localname": "DepositsDomestic",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of deposit liabilities held by the entity, including, but not limited to, foreign and domestic, interest and noninterest bearing, demand deposits, saving deposits, negotiable orders of withdrawal (NOW) and time deposits.",
        "label": "Deposits, Fair Value Disclosure",
        "negatedTerseLabel": "Deposits"
       }
      }
     },
     "localname": "DepositsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationAmortizationAndAccretionNet": {
     "auth_ref": [
      "r79"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate net amount of depreciation, amortization, and accretion recognized during an accounting period. As a noncash item, the net amount is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Depreciation, Amortization and Accretion, Net",
        "terseLabel": "Depreciation and amortization"
       }
      }
     },
     "localname": "DepreciationAmortizationAndAccretionNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset": {
     "auth_ref": [
      "r29",
      "r315"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of obligation to return cash collateral under master netting arrangements offset against derivative assets.",
        "label": "Derivative Asset, Collateral, Obligation to Return Cash, Offset",
        "terseLabel": "Cash collateral and related accrued interest received"
       }
      }
     },
     "localname": "DerivativeAssetCollateralObligationToReturnCashOffset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and elected not to be offset.",
        "label": "Derivative Asset, Fair Value, Gross Asset Including Not Subject to Master Netting Arrangement",
        "terseLabel": "Derivative Assets, before netting and collateral adjustments"
       }
      }
     },
     "localname": "DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset": {
     "auth_ref": [
      "r29",
      "r39",
      "r315"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of liability associated with financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, and obligation to return cash collateral under master netting arrangements.",
        "label": "Derivative Asset, Fair Value, Gross Liability and Obligation to Return Cash, Offset",
        "negatedLabel": "Derivative Asset, netting adjustments and cash collateral including related accrued interest",
        "negatedTerseLabel": "Derivative Assets, Netting Adjustments and Cash Collateral"
       }
      }
     },
     "localname": "DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r31",
      "r37"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, not subject to a master netting arrangement.",
        "label": "Derivative Asset, Not Subject to Master Netting Arrangement",
        "terseLabel": "Derivative Asset, Mortgage delivery commitments"
       }
      }
     },
     "localname": "DerivativeAssetNotSubjectToMasterNettingArrangement",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r30",
      "r35",
      "r381"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 9.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset",
        "terseLabel": "Derivative assets, net",
        "totalLabel": "Derivative assets",
        "verboseLabel": "Derivative assets"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]",
        "terseLabel": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r28",
      "r38",
      "r326",
      "r406"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Asset, Fair Value, Gross Asset",
        "terseLabel": "Derivative Asset, total gross recognized amount"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r32",
      "r36",
      "r351"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, after effects of master netting arrangements, of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset offset against an obligation to return collateral. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset, Fair Value, Amount Offset Against Collateral",
        "terseLabel": "Derivative Asset, Fair value, amount offset against collateral"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r28",
      "r38",
      "r326",
      "r406"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Derivative Liability, Fair Value, Gross Liability",
        "negatedTerseLabel": "Derivative Liability, total gross recognized amount"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r32",
      "r36",
      "r351"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, after effects of master netting arrangements, of financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset offset against the right to receive collateral. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability, Fair Value, Amount Offset Against Collateral",
        "negatedTerseLabel": "Derivative Liability, Fair value, amount offset against collateral"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r325",
      "r327",
      "r334",
      "r339"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]",
        "terseLabel": "Derivative Instrument Risk [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r363"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "terseLabel": "Derivatives and Hedging Activities [Text Block]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative Instruments and Hedging Activities Disclosures [Line Items]",
        "terseLabel": "Derivative Instruments and Hedging Activities Disclosures [Line Items]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about derivatives and hedging activities.",
        "label": "Derivative Instruments and Hedging Activities Disclosures [Table]",
        "terseLabel": "Derivative Instruments and Hedging Activities Disclosures [Table]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis": {
     "auth_ref": [
      "r322",
      "r325",
      "r334"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of hedging relationship.",
        "label": "Hedging Relationship [Axis]",
        "terseLabel": "Hedging Relationship [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable": {
     "auth_ref": [
      "r322",
      "r325",
      "r334",
      "r339",
      "r340",
      "r353",
      "r358"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Derivative Instruments, Gain (Loss) [Table]",
        "terseLabel": "Derivative Instruments, Gain (Loss) [Table]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative Instruments, Gain (Loss) [Line Items]",
        "terseLabel": "Derivative Instruments, Gain (Loss) [Line Items]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet": {
     "auth_ref": [
      "r331",
      "r338"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The effective portion of net gain (loss) reclassified from accumulated other comprehensive income into income on derivative instruments designated and qualifying as hedging instruments.",
        "label": "Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net",
        "terseLabel": "Losses reclassified from accumulated other comprehensive loss into interest expense"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet": {
     "auth_ref": [
      "r333",
      "r335"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_GainLossOnDerivativeInstrumentsNetPretax",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 7.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments.",
        "label": "Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net",
        "terseLabel": "Total net gains related to derivatives not designated as hedging instruments",
        "verboseLabel": "Net gains on derivatives and hedging activities"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r30",
      "r35",
      "r381"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability",
        "negatedTerseLabel": "Derivative liabilities",
        "negatedTotalLabel": "Derivative liabilities",
        "terseLabel": "Derivative liabilities, net"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset": {
     "auth_ref": [
      "r29",
      "r315"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of right to receive cash collateral under master netting arrangements offset against derivative liabilities.",
        "label": "Derivative Liability, Collateral, Right to Reclaim Cash, Offset",
        "terseLabel": "Cash collateral and related accrued interest posted"
       }
      }
     },
     "localname": "DerivativeLiabilityCollateralRightToReclaimCashOffset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset": {
     "auth_ref": [
      "r29",
      "r39",
      "r315"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": -1.0
      },
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of asset associated with financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, and right to receive cash collateral under master netting arrangements.",
        "label": "Derivative Liability, Fair Value, Gross Asset and Right to Reclaim Cash, Offset",
        "terseLabel": "Derivative liability, Netting Adjustments and Cash Collateral",
        "verboseLabel": "Derivative Liability, netting adjustments and cash collateral including related accrued interest"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and elected not to be offset.",
        "label": "Derivative Liability, Fair Value, Gross Liability Including Not Subject to Master Netting Arrangement",
        "negatedTerseLabel": "Derivative Liabilities, before netting and collateral adjustments"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r31",
      "r37"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, not subject to a master netting arrangement.",
        "label": "Derivative Liability, Not Subject to Master Netting Arrangement",
        "negatedTerseLabel": "Derivative Liabilities, Mortgage delivery commitments"
       }
      }
     },
     "localname": "DerivativeLiabilityNotSubjectToMasterNettingArrangement",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative [Line Items]",
        "terseLabel": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeNetHedgeIneffectivenessGainLoss": {
     "auth_ref": [
      "r332",
      "r357"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_GainLossOnDerivativeInstrumentsNetPretax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) from the ineffectiveness of the hedge.",
        "label": "Derivative, Net Hedge Ineffectiveness Gain (Loss)",
        "totalLabel": "Total net gains (losses) related to derivatives designated as hedging instruments"
       }
      }
     },
     "localname": "DerivativeNetHedgeIneffectivenessGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeNetLiabilityPositionAggregateFairValue": {
     "auth_ref": [
      "r344"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate fair value amounts of derivative instruments that contain credit-risk-related contingent features that are in a net liability position at the end of the reporting period. For nonderivative instruments that are designated and qualify as hedging instruments, the fair value amounts are the carrying value of the nonderivative hedging instrument, including the adjustment for the foreign currency transaction gain (loss) on that instrument.",
        "label": "Derivative, Net Liability Position, Aggregate Fair Value",
        "terseLabel": "Aggregate fair value of all uncleared derivatives in a net-liability position (before cash collateral and related accrued interest)"
       }
      }
     },
     "localname": "DerivativeNetLiabilityPositionAggregateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeNotionalAmount": {
     "auth_ref": [
      "r317",
      "r319"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payment on derivative.",
        "label": "Derivative, Notional Amount",
        "terseLabel": "Derivative, Notional Amount"
       }
      }
     },
     "localname": "DerivativeNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r94",
      "r316",
      "r318",
      "r319",
      "r322",
      "r323",
      "r329",
      "r334",
      "r349",
      "r352",
      "r358"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]",
        "terseLabel": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesEmbeddedDerivatives": {
     "auth_ref": [
      "r90",
      "r313",
      "r314",
      "r354",
      "r355"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for embedded derivatives, including how such derivatives are identified and analyzed for possible separation from their host contracts.",
        "label": "Derivatives, Embedded Derivatives [Policy Text Block]",
        "terseLabel": "Derivatives, Embedded Derivatives, Policy"
       }
      }
     },
     "localname": "DerivativesEmbeddedDerivatives",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativesFairValueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivatives, Fair Value [Line Items]",
        "terseLabel": "Derivatives, Fair Value [Line Items]"
       }
      }
     },
     "localname": "DerivativesFairValueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesHedgeDiscontinuances": {
     "auth_ref": [
      "r95"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for hedge discontinuances caused by termination of the hedging instrument, sale, extinguishment or maturity of the hedged item, or an assessment that it is no longer probable that an anticipated transaction will occur.",
        "label": "Derivatives, Hedge Discontinuances [Policy Text Block]",
        "terseLabel": "Derivatives, Hedge Discontinuances, Policy"
       }
      }
     },
     "localname": "DerivativesHedgeDiscontinuances",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativesOffsettingFairValueAmountsPolicy": {
     "auth_ref": [
      "r350"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for offsetting or not offsetting fair value amounts recognized for derivative instruments against such amounts recognized for the right to reclaim cash collateral (a receivable) or the obligation to return cash collateral (a payable) arising from derivative instruments recognized at fair value.",
        "label": "Derivatives, Offsetting Fair Value Amounts, Policy [Policy Text Block]",
        "terseLabel": "Derivatives, Offsetting Fair Value Amounts, Policy"
       }
      }
     },
     "localname": "DerivativesOffsettingFairValueAmountsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r90",
      "r96",
      "r316",
      "r318",
      "r322",
      "r323",
      "r350"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "terseLabel": "Derivatives, Policy"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DesignatedAsHedgingInstrumentMember": {
     "auth_ref": [
      "r322"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument designated as hedging instrument under Generally Accepted Accounting Principles (GAAP).",
        "label": "Designated as Hedging Instrument [Member]",
        "terseLabel": "Designated as Hedging Instrument [Member]"
       }
      }
     },
     "localname": "DesignatedAsHedgingInstrumentMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r251"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Common Stock, Cash",
        "negatedTerseLabel": "Cash dividends on capital stock"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r246"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r381"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate of Fair Value Measurement [Member]",
        "terseLabel": "Estimate of Fair Value Measurement [Member]",
        "verboseLabel": "Total Fair Value [Member]"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExcessCapital": {
     "auth_ref": [
      "r458"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount by which the company's Total Capital exceeds the minimum required for capital adequacy purposes.",
        "label": "Excess Capital",
        "terseLabel": "Permanent capital in excess of risk-based capital requirement"
       }
      }
     },
     "localname": "ExcessCapital",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ExchangeClearedMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Transaction where an organization acts as an intermediary, reconciling orders between transacting parties.",
        "label": "Exchange Cleared [Member]",
        "terseLabel": "Cleared derivatives [Member]"
       }
      }
     },
     "localname": "ExchangeClearedMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExternalCreditRatingByGroupingAxis": {
     "auth_ref": [
      "r133",
      "r202",
      "r235",
      "r348"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by external rating classified as investment grade or non investment grade.",
        "label": "External Credit Rating by Grouping [Axis]",
        "terseLabel": "External Credit Rating by Grouping [Axis]"
       }
      }
     },
     "localname": "ExternalCreditRatingByGroupingAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ExternalCreditRatingByGroupingDomain": {
     "auth_ref": [
      "r234",
      "r347"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "External credit rating classified as investment grade or non-investment grade.",
        "label": "External Credit Rating by Grouping [Domain]",
        "terseLabel": "External Credit Rating by Grouping [Domain]"
       }
      }
     },
     "localname": "ExternalCreditRatingByGroupingDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r364",
      "r365",
      "r366",
      "r375"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock": {
     "auth_ref": [
      "r364",
      "r365",
      "r366",
      "r374",
      "r375"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of financial instruments measured at fair value, including those classified in shareholders' equity measured on a recurring or nonrecurring basis. Disclosures include, but are not limited to, fair value measurements recorded and the reasons for the measurements, level within the fair value hierarchy in which the fair value measurements are categorized and transfers between levels 1 and 2. Nonrecurring fair value measurements are those that are required or permitted in the statement of financial position in particular circumstances.",
        "label": "Fair Value Measurements, Recurring and Nonrecurring [Table Text Block]",
        "terseLabel": "Fair Value Measured on Recurring and Nonrecurring Basis [Table Text Block]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r369"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]",
        "terseLabel": "Asset Class [Domain]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r369",
      "r375"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of assets using significant unobservable inputs (level 3). Such reconciliation, separately presenting changes during the period, at a minimum, may include, but is not limited to: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income, and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r369",
      "r375"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "terseLabel": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]"
       }
      }
     },
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r364",
      "r375"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]",
        "terseLabel": "Asset Class [Axis]"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r364",
      "r382",
      "r383"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "terseLabel": "Fair Value, by Balance Sheet Grouping [Table]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r364",
      "r382"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]",
        "terseLabel": "Fair Value of Financial Instruments [Table Text Block]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r269",
      "r270",
      "r294",
      "r365",
      "r402"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r364",
      "r376"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]",
        "terseLabel": "Measurement Basis [Axis]",
        "verboseLabel": "Fair Value, by Balance Sheet Grouping, Disclosure Item Amounts [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r364",
      "r365",
      "r367",
      "r368",
      "r377"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Fair Value by Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value.",
        "label": "Fair Value Measurement [Domain]",
        "terseLabel": "Fair Value Measurement [Domain]"
       }
      }
     },
     "localname": "FairValueDisclosureItemAmountsDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The face amount of financial liabilities, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
        "label": "Fair Value Disclosure, Off-balance Sheet Risks, Face Amount, Liability",
        "totalLabel": "Total Off-balance Sheet Commitments"
       }
      }
     },
     "localname": "FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r373"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value [Text Block]"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValues"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r269",
      "r270",
      "r294",
      "r365",
      "r403"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r269",
      "r270",
      "r294",
      "r365",
      "r404"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r269",
      "r270",
      "r294",
      "r365",
      "r405"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "terseLabel": "Fair Value Measurement, Policy"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss": {
     "auth_ref": [
      "r370"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in other comprehensive income (OCI) from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Other Comprehensive Income (Loss)",
        "terseLabel": "Unrealized gains (losses) included in other comprehensive income"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "auth_ref": [
      "r371"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "terseLabel": "Purchases"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r369"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Balance at end of year",
        "periodStartLabel": "Balance at beginning of year"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value, Measurements, Fair Value Hierarchy [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "auth_ref": [
      "r364",
      "r365",
      "r367",
      "r368",
      "r372",
      "r377"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Infrequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value.",
        "label": "Fair Value, Nonrecurring [Member]",
        "terseLabel": "Nonrecurring [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsNonrecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r373",
      "r377"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Recurring [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r90",
      "r378",
      "r380"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments.",
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]",
        "terseLabel": "Fair Value of Financial Instruments, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "auth_ref": [
      "r324",
      "r329",
      "r353"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule that discloses the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]",
        "terseLabel": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]"
       }
      }
     },
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalFundsSold": {
     "auth_ref": [
      "r426"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount outstanding of funds lent to other depository institutions, securities brokers, or securities dealers in the form of Federal Funds sold; for example, immediately available funds lent under agreements or contracts that mature in one business day or roll over under a continuing contract, regardless of the nature of the transaction or the collateral involved, excluding overnight lending for commercial and industrial purposes. Also include Federal Funds sold under agreements to resell on a gross basis, excluding (1) sales of term Federal Funds, (2) due bills representing purchases of securities or other assets by the reporting bank that have not yet been delivered and similar instruments, (3) resale agreements that mature in more than one business day involving assets other than securities, and (4) yield maintenance dollar repurchase agreements.",
        "label": "Federal Funds Sold",
        "terseLabel": "Federal funds sold"
       }
      }
     },
     "localname": "FederalFundsSold",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvances": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of Federal Home Loan Bank (FHLBank) advances to member financial institutions.",
        "label": "Federal Home Loan Bank Advances",
        "terseLabel": "Advances",
        "totalLabel": "Total Advances"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvances",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesByInterestRateTypeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank, Advances, by Interest Rate Type [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesByInterestRateTypeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesDiscount": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvances",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unamortized discount on outstanding advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances, Discount",
        "negatedTerseLabel": "Discounts"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesDiscount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateAfterRollingYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next call date after the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Call Date, after Rolling Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateAfterRollingYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInNextRollingTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next call date within the next rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Call Date, in Next Rolling Twelve Months",
        "terseLabel": "Due in one year or less"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInNextRollingTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next call date within the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Call Date, in Rolling Year Five",
        "terseLabel": "Due after four years through five years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next call date within the fourth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Call Date, in Rolling Year Four",
        "terseLabel": "Due after three years through four years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next call date within the third rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Call Date, in Rolling Year Three",
        "terseLabel": "Due after two years through three years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next call date within the second rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Call Date, in Rolling Year Two",
        "terseLabel": "Due after one year through two years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateRollingYearParValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Call Date, Rolling Year, Par Value [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateRollingYearParValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateAfterRollingYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next put or convert date after the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Put or Convert Date, after Rolling Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateAfterRollingYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInNextRollingTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next put or convert date within the next rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Put or Convert Date, in Next Rolling Twelve Months",
        "terseLabel": "Due in one year or less"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInNextRollingTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next put or convert date within the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Put or Convert Date, in Rolling Year Five",
        "terseLabel": "Due after four years through five years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next put or convert date within the fourth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Put or Convert Date, in Rolling Year Four",
        "terseLabel": "Due after three years through four years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next put or convert date within the third rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Put or Convert Date, in Rolling Year Three",
        "terseLabel": "Due after two years through three years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with the earlier of contractual maturity or next put or convert date within the second rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Put or Convert Date, in Rolling Year Two",
        "terseLabel": "Due after one year through two years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateRollingYearParValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Put or Convert Date, Rolling Year, Par Value [Abstract]",
        "terseLabel": "Federal Home Loan Bank, Advances, Earlier of Contractual Maturity or Next Put or Convert Date, Rolling Year, Par Value [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateRollingYearParValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesFixedRate": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with fixed interest rate.",
        "label": "Federal Home Loan Bank, Advances, Fixed Rate",
        "totalLabel": "Total fixed-rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFixedRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesFixedRateAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank, Advances, Fixed Rate [Abstract]",
        "terseLabel": "Federal Home Loan Bank, Advances, Fixed Rate [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFixedRateAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesFixedRateAfterOneYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesFixedRate",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with fixed interest rate maturing more than one year after the latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Fixed Rate, after One Year",
        "terseLabel": "Due after one year - fixed rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFixedRateAfterOneYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesFixedRateUnderOneYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesFixedRate",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with fixed interest rate maturing within one year of the latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Fixed Rate, under One Year",
        "terseLabel": "Due in one year or less - fixed rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFixedRateUnderOneYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesFloatingRate": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with floating interest rate.",
        "label": "Federal Home Loan Bank, Advances, Floating Rate",
        "totalLabel": "Total variable-rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFloatingRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesFloatingRateAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank, Advances, Floating Rate [Abstract]",
        "terseLabel": "Federal Home Loan Bank, Advances, Floating Rate [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFloatingRateAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesFloatingRateAfterOneYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesFloatingRate",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with floating interest rate maturing more than one year after the latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Floating Rate, after One Year",
        "terseLabel": "Due after one year - variable rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFloatingRateAfterOneYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesFloatingRateUnderOneYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesFloatingRate",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) with floating interest rate maturing within one year after the latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Floating Rate, under One Year",
        "terseLabel": "Due in one year or less - variable rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFloatingRateUnderOneYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest rate of advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances, Interest Rate",
        "terseLabel": "Interest rates of advances outstanding"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Federal Home Loan Bank, Advances [Line Items]",
        "terseLabel": "Federal Home Loan Bank, Advances [Line Items]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAfterRollingYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) maturing after the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Maturities Summary, after Rolling Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryAfterRollingYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInNextRollingTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) maturing in the next rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Maturities Summary, in Next Rolling Twelve Months",
        "terseLabel": "Due in one year or less"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryInNextRollingTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) maturing in the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Maturities Summary, in Rolling Year Five",
        "terseLabel": "Due after four years through five years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) maturing in the fourth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Maturities Summary, in Rolling Year Four",
        "terseLabel": "Due after three years through four years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) maturing in the third rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Maturities Summary, in Rolling Year Three",
        "terseLabel": "Due after two years through three years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvancesParValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank) maturing in the second rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Maturities Summary, in Rolling Year Two",
        "terseLabel": "Due after one year through two years"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturityRollingYearAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank, Advances, Maturity, Rolling Year [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturityRollingYearAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturityRollingYearParValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank, Advances, Maturity, Rolling Year, Par Value [Abstract]",
        "terseLabel": "Federal Home Loan Bank, Advances, Maturity, Rolling Year, Par Value [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturityRollingYearParValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMember": {
     "auth_ref": [
      "r421"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Borrowings from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and also in times of liquidity shortages. The member institution executes a promissory note, which is generally collateralized by government securities to the Federal Reserve or loans.",
        "label": "Federal Home Loan Bank Advances [Member]",
        "terseLabel": "Federal Home Loan Bank Advances [Member]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesOutstandingGreaterThanOneBillionDollarsPerBorrowerAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of advances outstanding made and reported by Federal Home Loan Bank (FHLBank) in excess of one billion U.S. dollars per borrower.",
        "label": "Federal Home Loan Bank, Advances, Outstanding, Greater than One Billion Dollars Per Borrower, Amount",
        "terseLabel": "Total outstanding advances greater than $1.0 billion per borrower, amount"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesOutstandingGreaterThanOneBillionDollarsPerBorrowerAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesOutstandingGreaterThanOneBillionDollarsPerBorrowerNumberOfBorrowers": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of borrowers with Federal Home Loan Bank (FHLBank) advances outstanding greater than one billion U.S. dollars.",
        "label": "Federal Home Loan Bank, Advances, Outstanding, Greater than One Billion Dollars Per Borrower, Number of Borrowers",
        "terseLabel": "Number of financial institutions with more than $1.0 billion advances borrowing"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesOutstandingGreaterThanOneBillionDollarsPerBorrowerNumberOfBorrowers",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesOutstandingGreaterThanOneBillionDollarsPerBorrowerPercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of advances outstanding made and reported by Federal Home Loan Bank (FHLBank) that are in excess of one billion U.S. dollars per borrower to the total advances outstanding.",
        "label": "Federal Home Loan Bank, Advances, Outstanding, Greater than One Billion Dollars Per Borrower, Percent",
        "terseLabel": "Total outstanding advances greater than $1.0 billion per borrower as a percentage of advances outstanding"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesOutstandingGreaterThanOneBillionDollarsPerBorrowerPercent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesParValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvances",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Par amount of advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances, Par Value",
        "totalLabel": "Total par value",
        "verboseLabel": "Par Value of Advances"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesParValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesInterestRatePaymentTermsDetails",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByEarlierOfContractualMaturityOrNextPutDateDetails",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesPremium": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvances",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unearned premiums on outstanding advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances, Premium",
        "terseLabel": "Premiums"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesPremium",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances [Table]",
        "terseLabel": "Federal Home Loan Bank, Advances [Table]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances [Table Text Block]",
        "verboseLabel": "Advances [Table Text Block]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesTextBlock": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure of advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances [Text Block]",
        "terseLabel": "Federal Home Loan Bank, Advances [Text Block]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/Advances"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesValuationAdjustmentsForHedgingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FederalHomeLoanBankAdvances",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated increase (decrease) on advances made and reported by Federal Home Loan Bank (FHLBank) from hedging adjustments.",
        "label": "Federal Home Loan Bank, Advances, Valuation Adjustments for Hedging Activities",
        "terseLabel": "Hedging adjustments"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesValuationAdjustmentsForHedgingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate on advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances, Weighted Average Interest Rate",
        "terseLabel": "Total Weighted average rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRateAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank, Advances, Weighted Average Interest Rate [Abstract]",
        "terseLabel": "Federal Home Loan Bank, Advances, Weighted Average Interest Rate [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesWeightedAverageInterestRateAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingAfterRollingYearFive": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate on advances made and reported by Federal Home Loan Bank (FHLBank) maturing after the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Weighted Average Interest Rate, Maturing after Rolling Year Five",
        "terseLabel": "Thereafter, Weighted average rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingAfterRollingYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingInNextTwelveRollingMonths": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate on advances made and reported by Federal Home Loan Bank (FHLBank) maturing in the next rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Weighted Average Interest Rate, Maturing in Next Twelve Rolling Months",
        "terseLabel": "Due in one year or less, Weighted average rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingInNextTwelveRollingMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingInRollingYearFive": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate on advances made and reported by Federal Home Loan Bank (FHLBank) maturing in the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Weighted Average Interest Rate, Maturing in Rolling Year Five",
        "terseLabel": "Due after four years through five years, Weighted average rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingInRollingYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingInRollingYearFour": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate on advances made and reported by Federal Home Loan Bank (FHLBank) maturing in the fourth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank, Advances, Weighted Average Interest Rate, Maturing in Rolling Year Four",
        "terseLabel": "Due after three years through four years, Weighted average rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingInRollingYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingInRollingYearThree": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate on advances made and reported by Federal Home Loan Bank maturing in the third rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank Advances, Weighted Average Interest Rate, Maturing in Rolling Year Three",
        "terseLabel": "Due after two years through three years, Weighted average rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingInRollingYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingInRollingYearTwo": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate on advances made and reported by Federal Home Loan Bank (FHLBank) maturing in the second rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Federal Home Loan Bank Advances, Weighted Average Interest Rate, Maturing in Rolling Year Two",
        "terseLabel": "Due after one year through two years, Weighted average rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesWeightedAverageInterestRateMaturingInRollingYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRateRollingYearAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank, Advances, Weighted Average Interest Rate, Rolling Year [Abstract]",
        "terseLabel": "Federal Home Loan Bank, Advances, Weighted Average Interest Rate, Rolling Year [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesWeightedAverageInterestRateRollingYearAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankConsolidatedObligations": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of joint and several obligations consisting of consolidated obligation bonds and discount notes issued by Federal Home Loan Banks (FHLBanks).",
        "label": "Federal Home Loan Bank, Consolidated Obligations",
        "terseLabel": "Total consolidated obligations"
       }
      }
     },
     "localname": "FederalHomeLoanBankConsolidatedObligations",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankConsolidatedObligationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank, Consolidated Obligations [Abstract]",
        "terseLabel": "Consolidated obligations (COs):",
        "verboseLabel": "Consolidated obligations:"
       }
      }
     },
     "localname": "FederalHomeLoanBankConsolidatedObligationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of joint and several obligations consisting of bonds issued by Federal Home Loan Banks (FHLBanks).",
        "label": "Federal Home Loan Bank, Consolidated Obligations, Bonds",
        "terseLabel": "Bonds",
        "verboseLabel": "Total"
       }
      }
     },
     "localname": "FederalHomeLoanBankConsolidatedObligationsBonds",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of joint and several obligations consisting of discount notes issued by Federal Home Loan Banks (FHLBanks).",
        "label": "Federal Home Loan Bank, Consolidated Obligations, Discount Notes",
        "terseLabel": "Discount notes",
        "verboseLabel": "Federal Home Loan Bank, Consolidated Obligations, Discount Notes"
       }
      }
     },
     "localname": "FederalHomeLoanBankConsolidatedObligationsDiscountNotes",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoDiscountNotesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankLeverageCapitalActual": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of leveraged capital of Federal Home Loan Bank (FHLBank), set by the Federal Housing Finance Agency (FHFA).",
        "label": "Federal Home Loan Bank, Leverage Capital, Actual",
        "terseLabel": "Leverage capital, Actual"
       }
      }
     },
     "localname": "FederalHomeLoanBankLeverageCapitalActual",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankLeverageCapitalRequired": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Minimum amount of leverage capital required for Federal Home Loan Bank (FHLBank), set by the Federal Housing Finance Agency (FHFA).",
        "label": "Federal Home Loan Bank, Leverage Capital, Required",
        "terseLabel": "Leverage capital, Required"
       }
      }
     },
     "localname": "FederalHomeLoanBankLeverageCapitalRequired",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankLeverageRatioActual1": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Leverage ratio of Federal Home Loan Bank (FHLBank), calculated per regulations of the Federal Housing Finance Agency (FHFA).",
        "label": "Federal Home Loan Bank, Leverage Ratio, Actual",
        "terseLabel": "Leverage capital-to-assets ratio, Actual"
       }
      }
     },
     "localname": "FederalHomeLoanBankLeverageRatioActual1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankRegulatoryCapitalActual": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of regulatory capital of Federal Home Loan Bank (FHLBank), set by the Federal Housing Finance Agency (FHFA).",
        "label": "Federal Home Loan Bank, Regulatory Capital, Actual",
        "terseLabel": "Regulatory capital, Actual"
       }
      }
     },
     "localname": "FederalHomeLoanBankRegulatoryCapitalActual",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankRegulatoryCapitalRatioActual": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Regulatory capital ratio of Federal Home Loan Bank (FHLBank), calculated per regulations of the Federal Housing Finance Agency (FHFA).",
        "label": "Federal Home Loan Bank, Regulatory Capital Ratio, Actual",
        "terseLabel": "Capital-to-asset ratio, Actual"
       }
      }
     },
     "localname": "FederalHomeLoanBankRegulatoryCapitalRatioActual",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankRegulatoryCapitalRequired": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Minimum amount of regulatory capital required for Federal Home Loan Bank (FHLBank), set by the Federal Housing Finance Agency (FHFA).",
        "label": "Federal Home Loan Bank, Regulatory Capital, Required",
        "terseLabel": "Regulatory capital, Required"
       }
      }
     },
     "localname": "FederalHomeLoanBankRegulatoryCapitalRequired",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankRiskBasedCapitalActual": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of risk-based capital of Federal Home Loan Bank (FHLBank), set by the Federal Housing Finance Agency (FHFA).",
        "label": "Federal Home Loan Bank, Risk-Based Capital, Actual",
        "terseLabel": "Risk-based capital, Actual"
       }
      }
     },
     "localname": "FederalHomeLoanBankRiskBasedCapitalActual",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankRiskBasedCapitalRequired": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Minimum amount of risk-based capital required for Federal Home Loan Bank (FHLBank), set by the Federal Housing Finance Agency (FHFA).",
        "label": "Federal Home Loan Bank, Risk-Based Capital, Required",
        "totalLabel": "Total risk-based capital requirement"
       }
      }
     },
     "localname": "FederalHomeLoanBankRiskBasedCapitalRequired",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeasePrincipalPayments": {
     "auth_ref": [
      "r395",
      "r398"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow for principal payment on finance lease.",
        "label": "Finance Lease, Principal Payments",
        "negatedTerseLabel": "Repayment of financing lease"
       }
      }
     },
     "localname": "FinanceLeasePrincipalPayments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentAllowanceAndNonperformingLoansNonperformingLoansPolicy": {
     "auth_ref": [
      "r90",
      "r122",
      "r138"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) placing loans on nonaccrual status (or discontinuing accrual of interest) and recording payments received on nonaccrual loans, and the policy for resuming accrual of interest, (2) charging-off uncollectible loans, and (3) determining past due or delinquency status (that is, whether past due status is based on how recently payments have been received or contractual terms).",
        "label": "Finance, Loan and Lease Receivables, Held-for-investment, Allowance and Nonperforming Loans, Nonperforming Loans Policy [Policy Text Block]",
        "terseLabel": "Finance, Loan and Lease Receivables, Held-for-investment, Allowance and Nonperforming Loans, Nonperforming Loans Policy [Policy Text Block]"
       }
      }
     },
     "localname": "FinanceLoanAndLeaseReceivablesHeldForInvestmentAllowanceAndNonperformingLoansNonperformingLoansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy": {
     "auth_ref": [
      "r120",
      "r122",
      "r128",
      "r132",
      "r138",
      "r147"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for financing receivable classified as held-for-investment.",
        "label": "Financing Receivable, Held-for-investment [Policy Text Block]",
        "terseLabel": "Loans and Leases Receivable, Held-for-investment, Policy"
       }
      }
     },
     "localname": "FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentsForeclosedAssetsPolicy": {
     "auth_ref": [
      "r146"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for foreclosed assets or repossessions.",
        "label": "Financing Receivable, Held-for-investment, Foreclosed Asset [Policy Text Block]",
        "terseLabel": "Loans and Leases Receivable, Real Estate Acquired Through Foreclosure, Policy"
       }
      }
     },
     "localname": "FinanceLoanAndLeaseReceivablesHeldForInvestmentsForeclosedAssetsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r194",
      "r196",
      "r197",
      "r200",
      "r202",
      "r212",
      "r214",
      "r215",
      "r216"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument [Axis]",
        "verboseLabel": "Fair Value, Off-balance Sheet Risks by Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAtFairValue": {
     "auth_ref": [
      "r407",
      "r408"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The fair value as of the balance sheet date of financial instruments and other positions owned by the entity and pledged to counterparties as collateral, including: (1) mortgages, mortgage-backed and asset backed securities; (2) US government and agency obligations; (3) state and municipal government obligations; (4) other sovereign government debt; (5) corporate obligations; (6) corporate equities; (7) principal investments; (8) derivative contracts; and (9) physical commodities.",
        "label": "Financial Instruments, Owned and Pledged as Collateral, at Fair Value",
        "terseLabel": "Available-for-sale securities pledged as collateral that may be repledged"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedAndPledgedAsCollateralAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionNumberOfStockholders1": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of stockholders holding financial instruments subject to mandatory redemption.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Number of Stockholders",
        "terseLabel": "Number of stockholders holding mandatorily redeemable capital stock"
       }
      }
     },
     "localname": "FinancialInstrumentsSubjectToMandatoryRedemptionNumberOfStockholders1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionPastContractualRedemptionDateDueToOutstandingActivity": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of mandatorily redeemable capital stock past the contractual redemption date due to outstanding activity.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Past Contractual Redemption Date, Due to Outstanding Activity",
        "terseLabel": "Past redemption date"
       }
      }
     },
     "localname": "FinancialInstrumentsSubjectToMandatoryRedemptionPastContractualRedemptionDateDueToOutstandingActivity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of mandatorily redeemable capital stock maturing in year five following the date of the latest balance sheet.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Redeemable in Year Five",
        "terseLabel": "Due after four years through five years"
       }
      }
     },
     "localname": "FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of mandatorily redeemable capital stock maturing in year four following the date of the latest balance sheet.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Redeemable in Year Four",
        "terseLabel": "Due after three years through four years"
       }
      }
     },
     "localname": "FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of mandatorily redeemable capital stock maturing in year three following the date of the latest balance sheet.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Redeemable in Year Three",
        "terseLabel": "Due after two years through three years"
       }
      }
     },
     "localname": "FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of mandatorily redeemable capital stock maturing in year two following the date of the latest balance sheet.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Redeemable in Year Two",
        "terseLabel": "Due after one year through two years"
       }
      }
     },
     "localname": "FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableWithinOneYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of mandatorily redeemable capital stock maturing within one year following the date of the latest balance sheet.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Redeemable within One year",
        "terseLabel": "Due in one year or less"
       }
      }
     },
     "localname": "FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableWithinOneYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r124"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The valuation allowance for financing receivables that are expected to be uncollectible that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Allowance for Credit Losses, Collectively Evaluated for Impairment",
        "terseLabel": "Ending balance, collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1": {
     "auth_ref": [
      "r124"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of valuation allowance for financing receivables that are expected to be uncollectible that were individually evaluated for impairment.",
        "label": "Financing Receivable, Allowance for Credit Losses, Individually Evaluated for Impairment",
        "terseLabel": "Ending balance, individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Allowance for Credit Loss [Line Items]",
        "terseLabel": "Financing Receivable, Allowance for Credit Loss [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r125"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The balance of financing receivables that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Collectively Evaluated for Impairment",
        "terseLabel": "Recorded Investment Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment": {
     "auth_ref": [
      "r125"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The balance of financing receivables that were individually evaluated for impairment.",
        "label": "Financing Receivable, Individually Evaluated for Impairment",
        "terseLabel": "Recorded Investment Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableIndividuallyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsRecordedInvestment": {
     "auth_ref": [
      "r135",
      "r150"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable modified as troubled debt restructuring.",
        "label": "Financing Receivable, Troubled Debt Restructuring",
        "terseLabel": "Recorded investment of trouble debt restructuring"
       }
      }
     },
     "localname": "FinancingReceivableModificationsRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r194",
      "r196",
      "r203"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by the level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Axis]",
        "terseLabel": "Financing Receivable Portfolio Segment [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Domain]",
        "terseLabel": "Financing Receivable Portfolio Segment [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing": {
     "auth_ref": [
      "r140",
      "r199",
      "r208"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable 90 days or more past due and still accruing.",
        "label": "Financing Receivable, 90 Days or More Past Due, Still Accruing",
        "terseLabel": "Past due 90 days or more still accruing interest"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r134",
      "r141",
      "r142",
      "r197",
      "r200",
      "r202",
      "r204",
      "r205",
      "r207",
      "r208"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Axis]",
        "terseLabel": "Class of Financing Receivable [Axis]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails",
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Domain]",
        "terseLabel": "Class of Financing Receivable [Domain]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails",
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentCurrent": {
     "auth_ref": [
      "r197",
      "r208"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable not past due.",
        "label": "Financing Receivable, Not Past Due",
        "terseLabel": "Total current loans"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [
      "r139",
      "r198"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual",
        "terseLabel": "Loans on nonaccrual status"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDue": {
     "auth_ref": [
      "r142",
      "r197",
      "r208"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable past due.",
        "label": "Financing Receivable, Past Due",
        "terseLabel": "Total past due"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Past Due [Line Items]",
        "terseLabel": "Mortgage Loans Past Due [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "auth_ref": [
      "r208"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial asset more than 29 days past due but fewer than 60 days past due.",
        "label": "Financial Asset, 30 to 59 Days Past Due [Member]",
        "terseLabel": "Past due 30-59 days delinquent [Member]"
       }
      }
     },
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "auth_ref": [
      "r208"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial asset more than 59 days past due but fewer than 90 days past due.",
        "label": "Financial Asset, 60 to 89 Days Past Due [Member]",
        "terseLabel": "Past due 60-89 days delinquent [Member]"
       }
      }
     },
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r208"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial asset equal to or greater than 90 days past due.",
        "label": "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]",
        "terseLabel": "Past due 90 days or more delinquent [Member]"
       }
      }
     },
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r197",
      "r208"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by time period financial asset is past due.",
        "label": "Financial Asset, Period Past Due [Axis]",
        "terseLabel": "Financial Asset, Period Past Due [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Period in which financial asset is past due. Element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater Than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less Than [high end numeric value] [date measure] Past Due [Member] formats.",
        "label": "Financial Asset, Period Past Due [Domain]",
        "terseLabel": "Financial Asset, Period Past Due [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesTextBlock": {
     "auth_ref": [
      "r146",
      "r148"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for financing receivable.",
        "label": "Financing Receivables [Text Block]",
        "terseLabel": "Mortgage Loans Held for Portofolio [Text Block]"
       }
      }
     },
     "localname": "FinancingReceivablesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ForwardContractsMember": {
     "auth_ref": [
      "r336"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Contracts negotiated between two parties to purchase and sell a specific quantity of a financial instrument, foreign currency, or commodity at a price specified at origination of the contract, with delivery and settlement at a specified future date.",
        "label": "Forward Contracts [Member]",
        "terseLabel": "Commitments to invest in mortgage loans [Member]",
        "verboseLabel": "Mortgage-delivery commitments [Member]"
       }
      }
     },
     "localname": "ForwardContractsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnCashFlowHedgeIneffectivenessNet": {
     "auth_ref": [
      "r332"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeNetHedgeIneffectivenessGainLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net gain (loss) recognized in earnings during the reporting period representing the amount of the cash flow hedges' ineffectiveness.",
        "label": "Gain (Loss) on Cash Flow Hedge Ineffectiveness, Net",
        "terseLabel": "Total net gains related to cash-flow hedges",
        "verboseLabel": "Gain recognized in net gains on derivatives and hedging activities"
       }
      }
     },
     "localname": "GainLossOnCashFlowHedgeIneffectivenessNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnDerivativeInstrumentsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing gain (loss) on derivative instruments.",
        "label": "Gain (Loss) on Derivative Instruments [Member]",
        "terseLabel": "Gain (Loss) on Derivative Instruments [Member]"
       }
      }
     },
     "localname": "GainLossOnDerivativeInstrumentsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnDerivativeInstrumentsNetPretax": {
     "auth_ref": [
      "r325"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 9.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects.",
        "label": "Gain (Loss) on Derivative Instruments, Net, Pretax",
        "terseLabel": "Net gains on derivatives and hedging activities",
        "totalLabel": "Net gains on derivatives and hedging activities",
        "verboseLabel": "Amortization of hedging activities recorded in net gains (losses) on derivatives and hedging activities"
       }
      }
     },
     "localname": "GainLossOnDerivativeInstrumentsNetPretax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurringNet": {
     "auth_ref": [
      "r362"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of net gain (loss) reclassified into earnings in the period when cash flow hedge is discontinued because it is probable that the original forecasted transactions will not occur by the end of the original period or an additional two month time period.",
        "label": "Gain (Loss) on Discontinuation of Cash Flow Hedge Due to Forecasted Transaction Probable of Not Occurring, Net",
        "terseLabel": "Reclassifications from accumulated other comprehensive loss into earnings as a result of the discontinuance of cash-flow hedges"
       }
      }
     },
     "localname": "GainLossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurringNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnFairValueHedgeIneffectivenessNet": {
     "auth_ref": [
      "r357"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeNetHedgeIneffectivenessGainLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss)recognized in the income statement from the hedging ineffectiveness of a fair value hedge.",
        "label": "Gain (Loss) on Fair Value Hedge Ineffectiveness, Net",
        "terseLabel": "Total net gains (losses) related to fair-value hedges",
        "verboseLabel": "Net changes in fair value"
       }
      }
     },
     "localname": "GainLossOnFairValueHedgeIneffectivenessNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnInvestmentsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of realized and unrealized gain (loss) on investment in security.",
        "label": "Gain (Loss) on Securities [Table Text Block]",
        "terseLabel": "Gain (Loss) on Securities [Table Text Block]"
       }
      }
     },
     "localname": "GainLossOnInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TradingSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GainLossRelatedToLitigationSettlement": {
     "auth_ref": [
      "r223"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in settlement of litigation and insurance claims. Excludes claims within an insurance entity's normal claims settlement process.",
        "label": "Gain (Loss) Related to Litigation Settlement",
        "terseLabel": "Litigation settlements"
       }
      }
     },
     "localname": "GainLossRelatedToLitigationSettlement",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainsLossesOnExtinguishmentOfDebt": {
     "auth_ref": [
      "r79",
      "r240",
      "r241"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity.",
        "label": "Gain (Loss) on Extinguishment of Debt",
        "negatedTerseLabel": "Loss on early extinguishment of debt",
        "terseLabel": "Loss on early extinguishment of debt"
       }
      }
     },
     "localname": "GainsLossesOnExtinguishmentOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgedAssetFairValueHedge": {
     "auth_ref": [
      "r341"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of asset hedged in fair value hedging relationship.",
        "label": "Hedged Asset, Fair Value Hedge",
        "terseLabel": "Amortized Cost of Hedged Asset/(Liability)"
       }
      }
     },
     "localname": "HedgedAssetFairValueHedge",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease": {
     "auth_ref": [
      "r342"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cumulative increase (decrease) in fair value of hedged asset in fair value hedge, attributable to hedged risk.",
        "label": "Hedged Asset, Fair Value Hedge, Cumulative Increase (Decrease)",
        "terseLabel": "Cumulative Amount of Fair Value Hedging Basis Adjustments"
       }
      }
     },
     "localname": "HedgedAssetFairValueHedgeCumulativeIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease": {
     "auth_ref": [
      "r343"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cumulative increase (decrease) in fair value of hedged liability in fair value hedge, attributable to hedged risk, remaining after discontinued hedge.",
        "label": "Hedged Liability, Discontinued Fair Value Hedge, Cumulative Increase (Decrease)",
        "terseLabel": "Basis Adjustments for Discontinued Hedging Relationships Included in Amortized Cost"
       }
      }
     },
     "localname": "HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgedLiabilityFairValueHedge": {
     "auth_ref": [
      "r341"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liability hedged in fair value hedging relationship.",
        "label": "Hedged Liability, Fair Value Hedge",
        "terseLabel": "Amortized Cost of Hedged Asset/(Liability)"
       }
      }
     },
     "localname": "HedgedLiabilityFairValueHedge",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease": {
     "auth_ref": [
      "r342"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cumulative increase (decrease) in fair value of hedged liability in fair value hedge, attributable to hedged risk.",
        "label": "Hedged Liability, Fair Value Hedge, Cumulative Increase (Decrease)",
        "terseLabel": "Cumulative Amount of Fair Value Hedging Basis Adjustments"
       }
      }
     },
     "localname": "HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesBasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgingDesignationAxis": {
     "auth_ref": [
      "r322",
      "r340"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Axis]",
        "terseLabel": "Hedging Designation [Axis]"
       }
      }
     },
     "localname": "HedgingDesignationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HedgingDesignationDomain": {
     "auth_ref": [
      "r322"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Domain]",
        "terseLabel": "Hedging Designation [Domain]"
       }
      }
     },
     "localname": "HedgingDesignationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HedgingRelationshipDomain": {
     "auth_ref": [
      "r322"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Nature or intent of a hedge.",
        "label": "Hedging Relationship [Domain]",
        "terseLabel": "Hedging Relationship [Domain]"
       }
      }
     },
     "localname": "HedgingRelationshipDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HeldToMaturitySecurities": {
     "auth_ref": [
      "r154",
      "r168"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 3.0,
       "parentTag": "us-gaap_MarketableSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity",
        "terseLabel": "Held-to-maturity securities - includes $92 and $3,456 pledged as collateral at December 31, 2019 and 2018, respectively that may be repledged",
        "totalLabel": "Carrying Value",
        "verboseLabel": "Held-to-maturity securities"
       }
      }
     },
     "localname": "HeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain": {
     "auth_ref": [
      "r170"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Accumulated Unrecognized Gain",
        "terseLabel": "Gross Unrecognized Holding Gains"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss": {
     "auth_ref": [
      "r171"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Accumulated Unrecognized Loss",
        "negatedTerseLabel": "Gross Unrecognized Holding Losses"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before other-than-temporary impairment (OTTI) accretion, of investment in debt securities measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Amortized Cost, before Other-than-temporary Impairment",
        "totalLabel": "Amortized Cost"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesClassifiedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Held-to-maturity [Abstract]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesClassifiedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r180",
      "r182"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for 12 months or longer.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
        "negatedTerseLabel": "12 Months or More, Unrealized Losses"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position [Abstract]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r180"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position.",
        "label": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss",
        "negatedTotalLabel": "Total Unrealized Losses"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue": {
     "auth_ref": [
      "r179"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position.",
        "label": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value",
        "totalLabel": "Total Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r180",
      "r182"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for less than 12 months.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
        "negatedTerseLabel": "Less than 12 Months, Unrealized Losses"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue": {
     "auth_ref": [
      "r182"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for less than 12 months.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Less than 12 Months, Fair Value",
        "terseLabel": "Less than 12 Months, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue": {
     "auth_ref": [
      "r182"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for 12 months or longer.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Fair Value",
        "terseLabel": "12 Months or More, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Held-to-maturity, Maturity [Abstract]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount": {
     "auth_ref": [
      "r175",
      "r450"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following latest fiscal year. Excludes interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, after Five Through Ten Years, Amortized Cost",
        "terseLabel": "Due after five years through 10 years, Carrying Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount": {
     "auth_ref": [
      "r174",
      "r449"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in next fiscal year through fifth fiscal year following latest fiscal year. Excludes interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, after One Through Five Years, Amortized Cost",
        "terseLabel": "Due after one year through five years, Carrying Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount": {
     "auth_ref": [
      "r176",
      "r451"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security, measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following latest fiscal year. Excludes interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, after 10 Years, Amortized Cost",
        "terseLabel": "Due after 10 years, Carrying Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in next rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Rolling within One Year, Fair Value",
        "terseLabel": "Due in one year or less, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesRollingAfterTenYearsFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing after tenth rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Rolling after 10 Years, Fair Value",
        "terseLabel": "Due after 10 years, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesRollingAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in sixth through tenth rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Rolling after Five Through Ten Years, Fair Value",
        "terseLabel": "Due after five years through 10 years, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in second through fifth rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Rolling after One Through Five Years, Fair Value",
        "terseLabel": "Due after one year through five years, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount": {
     "auth_ref": [
      "r173",
      "r448"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in next fiscal year following latest fiscal year. Excludes interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, within One Year, Amortized Cost",
        "terseLabel": "Due in one year or less, Carrying Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesFairValue": {
     "auth_ref": [
      "r169"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Fair Value",
        "terseLabel": "Fair value of held-to-maturity securities",
        "totalLabel": "Fair Value",
        "verboseLabel": "Held-to-maturity securities Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesTextBlock": {
     "auth_ref": [
      "r177"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of information about investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity [Table Text Block]",
        "terseLabel": "HTM Securities by Major Security Type [Table Text Block]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in next rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Rolling within One Year, Amortized Cost",
        "terseLabel": "Due in one year or less, Amortized Cost"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesDebtMaturitiesRollingAfterTenYearsAmortizedCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing after rolling tenth fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Rolling after 10 Years, Amortized Cost",
        "terseLabel": "Due after 10 years, Amortized Cost"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesDebtMaturitiesRollingAfterTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in sixth through tenth rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Rolling after Five Through Ten Years, Amortized Cost",
        "terseLabel": "Due after five years through 10 years, Amortized Cost"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in second through fifth rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Rolling after One Through Five Years, Amortized Cost",
        "terseLabel": "Due after one year through five years, Amortized Cost"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesMember": {
     "auth_ref": [
      "r189"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investments in debt securities classified as held-to-maturity.",
        "label": "Held-to-maturity Securities [Member]",
        "terseLabel": "Held-to-maturity Securities [Member]",
        "verboseLabel": "Held-to-maturity Securities [Member]"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesTables",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesSalesExcludingOtherThanTemporaryImpairmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Held-to-maturity, Sale, Excluding Other-than-temporary Impairment [Abstract]"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesSalesExcludingOtherThanTemporaryImpairmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesProceedsFromSaleAndGrossGainsAndLossesOnHtmSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesSoldSecurityRealizedGainLossExcludingOtherThanTemporaryImpairments": {
     "auth_ref": [
      "r79",
      "r159"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 8.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) on sale of investment in debt security measured at amortized cost (held-to-maturity), excluding other-than-temporary impairment (OTTI).",
        "label": "Debt Securities, Held-to-maturity, Sold, Realized Gain (Loss), Excluding Other-than-temporary Impairment",
        "negatedLabel": "Realized net gain from sale of held-to-maturity securities",
        "terseLabel": "Realized net gain from sale of held-to-maturity securities",
        "verboseLabel": "Realized net gain from sale of held-to-maturity securities"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesSoldSecurityRealizedGainLossExcludingOtherThanTemporaryImpairments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesProceedsFromSaleAndGrossGainsAndLossesOnHtmSecuritiesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCashFlows",
      "http://www.fhlbboston.com/role/StatementsOfOperations",
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivablePolicyPolicyTextBlock": {
     "auth_ref": [
      "r127",
      "r130"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognizing interest income on impaired financing receivables, including how cash receipts are recorded, the policy for determining which loans the entity assess for impairment, and the factors the creditor considered in determining that the financing receivable is impaired.",
        "label": "Impaired Financing Receivable, Policy [Policy Text Block]",
        "terseLabel": "Impaired Financing Receivable, Policy"
       }
      }
     },
     "localname": "ImpairedFinancingReceivablePolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations before deduction of income tax expense (benefit) and income (loss) attributable to noncontrolling interest, and addition of income (loss) from equity method investments.",
        "label": "Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest",
        "totalLabel": "INCOME BEFORE ASSESSMENTS"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r220"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]",
        "terseLabel": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails",
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]",
        "terseLabel": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails",
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet": {
     "auth_ref": [
      "r78"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount due from borrowers for interest payments.",
        "label": "Increase (Decrease) in Accrued Interest Receivable, Net",
        "negatedLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedInterestReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeposits": {
     "auth_ref": [
      "r82",
      "r445"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash inflow or outflow for the increase (decrease) in the beginning and end of period deposits balances.",
        "label": "Increase (Decrease) in Deposits",
        "terseLabel": "Net change in deposits"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeposits",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInFederalFundsSold": {
     "auth_ref": [
      "r74",
      "r77",
      "r444"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash inflow or outflow from the fund lent to other financial institution arising from the excess in reserve deposited at Federal Reserve Bank to meet legal requirement. This borrowing is usually contracted on an overnight basis at an agreed rate of interest.",
        "label": "Increase (Decrease) in Federal Funds Sold",
        "terseLabel": "Federal funds sold"
       }
      }
     },
     "localname": "IncreaseDecreaseInFederalFundsSold",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInterestPayableNet": {
     "auth_ref": [
      "r78"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in interest payable, which represents the amount owed to note holders, bond holders, and other parties for interest earned on loans or credit extended to the reporting entity.",
        "label": "Increase (Decrease) in Interest Payable, Net",
        "terseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInInterestPayableNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInLoansToFederalHomeLoanBanks": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in Federal Home Loan Bank (FHLBank) loans to another FHLBank.",
        "label": "Increase (Decrease) in Loans to Federal Home Loan Banks",
        "negatedTerseLabel": "Loans to other FHLBanks"
       }
      }
     },
     "localname": "IncreaseDecreaseInLoansToFederalHomeLoanBanks",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Net change in:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "auth_ref": [
      "r78"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating assets classified as other.",
        "label": "Increase (Decrease) in Other Operating Assets",
        "negatedLabel": "Other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingLiabilities": {
     "auth_ref": [
      "r78"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Operating Liabilities",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
        "terseLabel": "Increase (Decrease) in Stockholders' Equity [Roll Forward]"
       }
      }
     },
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInTradingSecurities": {
     "auth_ref": [
      "r72",
      "r78"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) of investment in debt and equity securities, measured at fair value with changes in fair value recognized in net income.",
        "label": "Increase (Decrease) in Debt Securities, Trading, and Equity Securities, FV-NI",
        "negatedLabel": "Market value of trading securities"
       }
      }
     },
     "localname": "IncreaseDecreaseInTradingSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InformationByCategoryOfDebtSecurityAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by category of debt security, either available-for-sale or held-to-maturity.",
        "label": "Debt Security Category [Axis]",
        "terseLabel": "Debt Security Category [Axis]",
        "verboseLabel": "Information by Category of Debt Security [Axis]"
       }
      }
     },
     "localname": "InformationByCategoryOfDebtSecurityAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesTables",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesTables",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r434"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein.",
        "label": "Interest and Dividend Income, Operating",
        "totalLabel": "Total interest income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Interest and Dividend Income, Operating [Abstract]",
        "terseLabel": "INTEREST INCOME"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecurities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of operating dividend and interest income, including amortization and accretion of premiums and discounts, on securities.",
        "label": "Interest and Dividend Income, Securities, Operating",
        "terseLabel": "Total investment securities"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecuritiesByClassificationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Interest and Dividend Income, Securities, by Classification [Abstract]",
        "terseLabel": "Investment securities:"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecuritiesByClassificationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecuritiesHeldToMaturity": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 8.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on held-to-maturity securities.",
        "label": "Interest Income, Debt Securities, Held-to-maturity",
        "terseLabel": "Held-to-maturity securities"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecuritiesHeldToMaturity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndFeeIncomeLoansConsumerRealEstate": {
     "auth_ref": [
      "r433"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 9.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest and fee income generated from loans secured by one- to four-family residential properties. This item excludes home equity lines-of-credit.",
        "label": "Interest and Fee Income, Loans, Consumer, Real Estate",
        "terseLabel": "Mortgage loans held for portfolio"
       }
      }
     },
     "localname": "InterestAndFeeIncomeLoansConsumerRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r420"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_DepositsDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total amount of interest-bearing domestic deposit liabilities, which may include brokered, retail, demand, checking, notice of withdrawal, money market and other interest-bearing deposits.",
        "label": "Interest-bearing Deposit Liabilities, Domestic",
        "terseLabel": "Interest-bearing"
       }
      }
     },
     "localname": "InterestBearingDepositLiabilitiesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "auth_ref": [
      "r410",
      "r425"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For banks and other depository institutions (including Federal Reserve Banks, if applicable): Interest-bearing deposits in other financial institutions for relatively short periods of time including, for example, certificates of deposits, which are presented separately from cash on the balance sheet.",
        "label": "Interest-bearing Deposits in Banks and Other Financial Institutions",
        "terseLabel": "Interest-bearing deposits"
       }
      }
     },
     "localname": "InterestBearingDepositsInBanks",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositDemand": {
     "auth_ref": [
      "r420"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DepositsDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of money in interest-bearing domestic accounts that entitle the depositor to withdraw funds at any time without prior notice, also known as demand deposits.",
        "label": "Interest-bearing Domestic Deposit, Demand",
        "terseLabel": "Interest-bearing deposits demand and overnight"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositDemand",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositTimeDeposits": {
     "auth_ref": [
      "r420"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DepositsDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest-bearing domestic time deposits. Time deposits bear interest for a fixed, stated period of time and include certificate of deposits and individual retirement accounts.",
        "label": "Interest-bearing Domestic Deposit, Time Deposits",
        "terseLabel": "Interest-bearing deposits Term"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositTimeDeposits",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r58",
      "r115",
      "r387",
      "r390",
      "r443"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "totalLabel": "Total interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Interest Expense [Abstract]",
        "terseLabel": "INTEREST EXPENSE"
       }
      }
     },
     "localname": "InterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpenseCapitalSecurities": {
     "auth_ref": [
      "r442"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest expense incurred during the reporting period on capital securities issued by the reporting entity.",
        "label": "Interest Expense, Capital Securities",
        "terseLabel": "Mandatorily redeemable capital stock",
        "verboseLabel": "Dividends on mandatorily redeemable capital stock"
       }
      }
     },
     "localname": "InterestExpenseCapitalSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDomesticDeposits": {
     "auth_ref": [
      "r440"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate interest expense incurred on all domestic deposits.",
        "label": "Interest Expense, Domestic Deposits",
        "terseLabel": "Deposits"
       }
      }
     },
     "localname": "InterestExpenseDomesticDeposits",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseLoansFromOtherFederalHomeLoanBanks": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest expense on loans received from another Federal Home Loan Bank (FHLB).",
        "label": "Interest Expense, Loans from Other Federal Home Loan Banks",
        "terseLabel": "Interest expense for loans from other FHLBanks"
       }
      }
     },
     "localname": "InterestExpenseLoansFromOtherFederalHomeLoanBanks",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseMember": {
     "auth_ref": [
      "r338"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing interest expense.",
        "label": "Interest Expense [Member]",
        "terseLabel": "Interest Expense [Member]"
       }
      }
     },
     "localname": "InterestExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestExpenseOther": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest expense classified as other.",
        "label": "Interest Expense, Other",
        "terseLabel": "Other borrowings"
       }
      }
     },
     "localname": "InterestExpenseOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseOtherLongTermDebt": {
     "auth_ref": [
      "r442"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest expense incurred on long-term debt classified as other, including, but not limited to, interest on long-term notes and amortization of issuance costs.",
        "label": "Interest Expense, Other Long-term Debt",
        "negatedLabel": "Interest expense on consolidated obligations bonds",
        "terseLabel": "Bonds",
        "verboseLabel": "Amortization of hedging activities recorded in interest expense CO bonds"
       }
      }
     },
     "localname": "InterestExpenseOtherLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseOtherShortTermBorrowings": {
     "auth_ref": [
      "r441"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 2.0,
       "parentTag": "fhlbbost_InterestExpenseOtherShorttermBorrowingsandOtherLongtermDebt",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest expense incurred during the reporting period on other short-term borrowings.",
        "label": "Interest Expense, Other Short-term Borrowings",
        "terseLabel": "Discount notes"
       }
      }
     },
     "localname": "InterestExpenseOtherShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 7.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest income, amortization of premium and accretion of discount on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale); classified as operating.",
        "label": "Interest Income, Debt Securities, Available-for-sale, Operating",
        "terseLabel": "Available-for-sale securities",
        "verboseLabel": "Interest income on available-for-sale securities"
       }
      }
     },
     "localname": "InterestIncomeDebtSecuritiesAvailableForSaleOperating",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeDebtSecuritiesTradingOperating": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 6.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest income, amortization of premium and accretion of discount, on investment in debt security measured at fair value with change in fair value recognized in net income (trading); classified as operating.",
        "label": "Interest Income, Debt Securities, Trading, Operating",
        "terseLabel": "Trading securities"
       }
      }
     },
     "localname": "InterestIncomeDebtSecuritiesTradingOperating",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeDepositsWithFinancialInstitutions": {
     "auth_ref": [
      "r439"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest income derived from funds deposited with both domestic and foreign financial institutions including funds in money market and other accounts.",
        "label": "Interest Income, Deposits with Financial Institutions",
        "terseLabel": "Interest-bearing deposits"
       }
      }
     },
     "localname": "InterestIncomeDepositsWithFinancialInstitutions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "auth_ref": [
      "r436"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest income or expense, including any amortization and accretion (as applicable) of discounts and premiums, including consideration of the provisions for loan, lease, credit, and other related losses.",
        "label": "Interest Income (Expense), after Provision for Loan Loss",
        "totalLabel": "NET INTEREST INCOME AFTER PROVISION FOR (REDUCTION OF) CREDIT LOSSES"
       }
      }
     },
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r435"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "totalLabel": "NET INTEREST INCOME"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeFederalFundsSold": {
     "auth_ref": [
      "r439"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest income on federal funds sold. Federal funds sold represent the excess federal funds held by one commercial bank which it lends to another commercial bank, usually at an agreed-upon (federal funds) rate of interest. Such loans generally are of short-duration (overnight).",
        "label": "Interest Income, Federal Funds Sold",
        "terseLabel": "Federal funds sold"
       }
      }
     },
     "localname": "InterestIncomeFederalFundsSold",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeFederalHomeLoanBankAdvances": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest income from Federal Home Loan Bank (FHLBank) advances to member financial institutions.",
        "label": "Interest Income, Federal Home Loan Bank Advances",
        "terseLabel": "Advances",
        "verboseLabel": "Interest income on advances"
       }
      }
     },
     "localname": "InterestIncomeFederalHomeLoanBankAdvances",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeLoansToOtherFederalHomeLoanBanks": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest income from loans to another Federal Home Loan Bank (FHLBank).",
        "label": "Interest Income, Loans to Other Federal Home Loan Banks",
        "terseLabel": "Interest Income on loans to other FHLBanks"
       }
      }
     },
     "localname": "InterestIncomeLoansToOtherFederalHomeLoanBanks",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption in which reported facts about interest income have been included.",
        "label": "Interest Income [Member]",
        "terseLabel": "Interest Income [Member]"
       }
      }
     },
     "localname": "InterestIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell": {
     "auth_ref": [
      "r439"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest income derived from securities purchased under agreements to resell. The difference in the price at which the institution buys the securities and resells the securities represents interest for the use of the funds by the other party. Most repurchase and sale agreements involve obligations of the federal government or its agencies, but other financial instruments, such as commercial paper, banker's acceptances and negotiable certificates of deposits are sometimes used in such transactions.",
        "label": "Interest Income, Securities Purchased under Agreements to Resell",
        "terseLabel": "Securities purchased under agreements to resell"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesPurchasedUnderAgreementsToResell",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r71",
      "r75",
      "r85"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Interest paid"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r422",
      "r471"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables.",
        "label": "Interest Payable",
        "negatedTerseLabel": "Accrued interest payable",
        "terseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateCashFlowHedgeGainLossReclassifiedToEarningsNet": {
     "auth_ref": [
      "r331"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of net gains or losses on interest rate cash flow hedges reclassified during the period to earnings from accumulated other comprehensive income upon the hedged transaction affecting earnings.",
        "label": "Interest Rate Cash Flow Hedge Gain (Loss) Reclassified to Earnings, Net",
        "terseLabel": "Losses reclassified from accumulated other comprehensive loss into interest expense"
       }
      }
     },
     "localname": "InterestRateCashFlowHedgeGainLossReclassifiedToEarningsNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateContractMember": {
     "auth_ref": [
      "r269",
      "r337"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to the right to receive or pay a sum of money at a given interest rate.",
        "label": "Interest Rate Contract [Member]",
        "terseLabel": "Interest Rate Contract [Member]"
       }
      }
     },
     "localname": "InterestRateContractMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestRateSwapMember": {
     "auth_ref": [
      "r337"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Forward based contracts in which two parties agree to swap periodic payments that are fixed at the outset of the swap contract with variable payments based on a market interest rate (index rate) over a specified period.",
        "label": "Interest Rate Swap [Member]",
        "terseLabel": "Interest-rate swaps [Member]"
       }
      }
     },
     "localname": "InterestRateSwapMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable.",
        "label": "Interest Receivable",
        "terseLabel": "Accrued interest receivable",
        "verboseLabel": "Total Accrued Interest Receivable"
       }
      }
     },
     "localname": "InterestReceivable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestbearingDomesticDepositOther": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DepositsDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of other interest-bearing domestic deposit liabilities.",
        "label": "Interest-bearing Domestic Deposit, Other",
        "terseLabel": "Interest-bearing deposits other"
       }
      }
     },
     "localname": "InterestbearingDomesticDepositOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "auth_ref": [
      "r133",
      "r202",
      "r206",
      "r207",
      "r235",
      "r348"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by entity-defined rating.",
        "label": "Internal Credit Assessment [Axis]",
        "terseLabel": "Internal Credit Assessment [Axis]"
       }
      }
     },
     "localname": "InternalCreditAssessmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Entity defined credit risk rating.",
        "label": "Internal Credit Assessment [Domain]",
        "terseLabel": "Internal Credit Assessment [Domain]"
       }
      }
     },
     "localname": "InternalCreditAssessmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InternalUseSoftwarePolicy": {
     "auth_ref": [
      "r90",
      "r217",
      "r218"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for costs incurred when both (1) the software is acquired, internally developed, or modified solely to meet the entity's internal needs, and (2) during the software's development or modification, no substantive plan exists or is being developed to market the software externally.",
        "label": "Internal Use Software, Policy [Policy Text Block]",
        "terseLabel": "Internal Use Software, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "InternalUseSoftwarePolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentHoldingsTable": {
     "auth_ref": [
      "r477",
      "r479",
      "r481",
      "r482"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The investment holdings table is used for any listing of investments. The \"Investment [Axis]\" identifies the investment for which the line items apply. The other axes are used for categorizing the investments and creating useful subtotals. These axes cover different categorizations. The appropriate axes are expected to be used. Additional axes can be added for alternative categorizations.",
        "label": "Investment Holdings [Table]",
        "terseLabel": "Investment Holdings [Table]"
       }
      }
     },
     "localname": "InvestmentHoldingsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r193"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Investment, Policy"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r476",
      "r478",
      "r480",
      "r483"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type [Axis]"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r476",
      "r478",
      "r480",
      "r483"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]",
        "terseLabel": "Investments [Domain]"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments.",
        "label": "Investments Classified by Contractual Maturity Date [Table Text Block]",
        "terseLabel": "Investments Classified by Contractual Maturity Date [Table Text Block]",
        "verboseLabel": "HTM Securities by Contractual Maturity [Table Text Block]"
       }
      }
     },
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesTables",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit.",
        "label": "Labor and Related Expense",
        "terseLabel": "Compensation and benefits"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeLeasesPolicyTextBlock": {
     "auth_ref": [
      "r396"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for leasing arrangement entered into by lessee.",
        "label": "Lessee, Leases [Policy Text Block]",
        "terseLabel": "Lessee, Leases [Policy Text Block]"
       }
      }
     },
     "localname": "LesseeLeasesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r20"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r15",
      "r416",
      "r469"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total Liabilities and Capital"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r364"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of financial and nonfinancial obligations.",
        "label": "Financial and Nonfinancial Liabilities, Fair Value Disclosure",
        "negatedTotalLabel": "Total liabilities carried at fair value"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoanOriginationCommitmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commitments to borrowers or third party investors for the origination of a loan.",
        "label": "Loan Origination Commitments [Member]",
        "terseLabel": "Commitments to make additional advances [Member]"
       }
      }
     },
     "localname": "LoanOriginationCommitmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoanPortfolioExpense": {
     "auth_ref": [
      "r60"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The loan servicing fees paid to third parties that relate to loan expenses for a portfolio containing the entire group of loans owned by the company.",
        "label": "Loan Portfolio Expense",
        "verboseLabel": "MPF transaction-services fee expense"
       }
      }
     },
     "localname": "LoanPortfolioExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowance": {
     "auth_ref": [
      "r123",
      "r124",
      "r145",
      "r149",
      "r429"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of allowance to cover probable credit losses on loans and leases. Includes carryover of or adjustments to the allowance for loan losses in connection with business combinations. Excludes allowance for loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Allowance",
        "negatedLabel": "Allowance for credit losses",
        "periodEndLabel": "Balance, end of year",
        "periodStartLabel": "Balance, beginning of year",
        "terseLabel": "Allowance for credit losses"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableAllowance",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowanceForLoanLossesPolicy": {
     "auth_ref": [
      "r90",
      "r143"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for estimating the allowance for losses on loans and lease receivables. The disclosure may include (a) how the entity determines each element of the allowance, (b) which loans are evaluated individually and which loans are evaluated as a group, (c) how the entity determines both the allocated and unallocated portions of the allowance, (d) how the entity determines the loss factors applied to graded loans in order to develop a general allowance, and (e) what self-correcting mechanism the entity uses to reduce differences between estimated and actual losses.",
        "label": "Loans and Leases Receivable, Allowance for Loan Losses Policy [Policy Text Block]",
        "terseLabel": "Loans and Leases Receivable, Allowance for Loan Losses Policy [Policy Text Block]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableAllowanceForLoanLossesPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansAndLeasesReceivableBeforeFeesGross": {
     "auth_ref": [
      "r118"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before allowance and fees, of loans and leases receivable. Excludes loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, before Fees, Gross",
        "terseLabel": "Par Value"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableBeforeFeesGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Loans and Leases Receivable Disclosure [Abstract]",
        "terseLabel": "Loans and Leases Receivable Disclosure [Abstract]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome": {
     "auth_ref": [
      "r118",
      "r137"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Net of Deferred Income",
        "terseLabel": "Total mortgage loans held for portfolio"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetOfDeferredIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmount": {
     "auth_ref": [
      "r118",
      "r430"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after allowance and deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements and loans held for sale.",
        "label": "Loans and Leases Receivable, Net Amount",
        "terseLabel": "Mortgage loans held for portfolio, net of allowance for credit losses of $500 at December 31, 2019 and 2018",
        "totalLabel": "Total mortgage loans, net of allowance for credit losses"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetReportedAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNonaccrualLoanAndLeaseStatusPolicy": {
     "auth_ref": [
      "r90",
      "r129"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for when a loan ceases to accrue interest or other revenue because the borrower is in financial difficulty. May also describe the treatment of previously earned but uncollected interest income on loans in nonaccrual status, how cash received from borrowers is recorded on loans that are in nonaccrual status, and the policy for resuming accrual of interest. Also includes the policy for charging off uncollectible loans and trade receivables, and the policy for determining past-due or delinquency status (i.e. whether past-due status is based on how recently payments have been received or on contractual terms).",
        "label": "Loans and Leases Receivable, Nonaccrual Loan and Lease Status, Policy [Policy Text Block]",
        "terseLabel": "Loans and Leases Receivable, Nonaccrual Loan and Lease Status, Policy"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNonaccrualLoanAndLeaseStatusPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansAndLeasesReceivableOriginationFeesDiscountsOrPremiumsAndDirectCostsToAcquireLoansPolicy": {
     "auth_ref": [
      "r131"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for method for recognizing interest income and amortizing deferred fee or cost of financing receivable. Includes, but is not limited to, treatment of fee, cost, premium and discount.",
        "label": "Financing Receivable, Fee and Interest Income [Policy Text Block]",
        "terseLabel": "Loans and Leases Receivable, Origination Fees, Discounts or Premiums, and Direct Costs to Acquire Loans, Policy"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableOriginationFeesDiscountsOrPremiumsAndDirectCostsToAcquireLoansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansAndLeasesReceivableTroubledDebtRestructuringPolicy": {
     "auth_ref": [
      "r151"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for troubled debt restructuring.",
        "label": "Troubled Debt Restructuring [Policy Text Block]",
        "terseLabel": "Loans and Leases Receivable, Troubled Debt Restructuring, Policy"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableTroubledDebtRestructuringPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by US and non-US government sponsored enterprise, authority, agency and program guarantees for government insured loans.",
        "label": "Loans Insured or Guaranteed by Government Authorities [Axis]",
        "terseLabel": "Loans Insured or Guaranteed by Government Authorities [Axis]"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Guarantee by US and non-US government sponsored enterprises, authorities, agencies and programs for government insured loans.",
        "label": "Loans Insured or Guaranteed by Government Authorities [Domain]",
        "terseLabel": "Loans Insured or Guaranteed by Government Authorities [Domain]"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "auth_ref": [
      "r146"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts.",
        "label": "Loans Receivable, Fair Value Disclosure",
        "terseLabel": "Mortgage loans, net",
        "verboseLabel": "Mortgage loans held for portfolio"
       }
      }
     },
     "localname": "LoansReceivableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the next rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Next Rolling Twelve Months",
        "terseLabel": "Due in one year or less"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingAfterYearFive": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing after the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Rolling after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFive": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Rolling Year Five",
        "terseLabel": "Due after four years through five years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFour": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fourth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Rolling Year Four",
        "terseLabel": "Due after three years through four years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the third rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Rolling Year Three",
        "terseLabel": "Due after two years through three years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the second rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Rolling Year Two",
        "terseLabel": "Due after one year through two years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-term Debt, Type [Axis]",
        "terseLabel": "Long-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsInterestRatePaymentTypeDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeaturesDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r21",
      "r238"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-term Debt, Type [Domain]",
        "terseLabel": "Long-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsInterestRatePaymentTypeDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeaturesDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityOrNextCallDateDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongtermDebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated at point in time.",
        "label": "Long-term Debt, Weighted Average Interest Rate, at Point in Time",
        "terseLabel": "Total par value, weighted average rate"
       }
      }
     },
     "localname": "LongtermDebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "auth_ref": [
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r232",
      "r233"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur.",
        "label": "Loss Contingency Nature [Axis]",
        "terseLabel": "Loss Contingency Nature [Axis]"
       }
      }
     },
     "localname": "LossContingenciesByNatureOfContingencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Loss Contingencies [Line Items]",
        "terseLabel": "Loss Contingencies [Line Items]"
       }
      }
     },
     "localname": "LossContingenciesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingenciesTable": {
     "auth_ref": [
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r232",
      "r233"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Discloses the specific components (such as the nature, name, and date) of the loss contingency and gives an estimate of the possible loss or range of loss, or states that a reasonable estimate cannot be made. Excludes environmental contingencies, warranties and unconditional purchase obligations.",
        "label": "Loss Contingencies [Table]",
        "terseLabel": "Loss Contingencies [Table]"
       }
      }
     },
     "localname": "LossContingenciesTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingencyNatureDomain": {
     "auth_ref": [
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r232",
      "r233"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "An existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur. Resolution of the uncertainty may confirm the incurrence of a loss or impairment of an asset or the incurrence of a liability.",
        "label": "Loss Contingency, Nature [Domain]",
        "terseLabel": "Loss Contingency, Nature [Domain]"
       }
      }
     },
     "localname": "LossContingencyNatureDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MandatorilyRedeemableCapitalStockTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of mandatorily redeemable capital stock.",
        "label": "Mandatorily Redeemable Capital Stock [Table Text Block]",
        "terseLabel": "Mandatorily redeemable capital stock [Table Text Block]"
       }
      }
     },
     "localname": "MandatorilyRedeemableCapitalStockTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MarketableSecurities": {
     "auth_ref": [
      "r427"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in marketable security.",
        "label": "Marketable Securities",
        "totalLabel": "Total investment securities"
       }
      }
     },
     "localname": "MarketableSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketableSecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Marketable Securities [Abstract]",
        "terseLabel": "Investment securities:"
       }
      }
     },
     "localname": "MarketableSecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MaximumLengthOfTimeHedgedInCashFlowHedge1": {
     "auth_ref": [
      "r361"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Maximum length of time over which the entity is hedging its exposure to the variability in future cash flows for forecasted transactions, excluding those forecasted transactions related to the payment of variable interest on existing financial instruments, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Maximum Length of Time Hedged in Cash Flow Hedge",
        "terseLabel": "Maximum length of time which we are hedging our exposure to the variability in future cash flows for forecasted transactions"
       }
      }
     },
     "localname": "MaximumLengthOfTimeHedgedInCashFlowHedge1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember": {
     "auth_ref": [
      "r161",
      "r269"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt securities collateralized by real estate mortgage loans (mortgages), issued by non-governmental sponsored enterprises.",
        "label": "Mortgage-backed Securities, Issued by Private Enterprises [Member]",
        "terseLabel": "Mortgage-backed Securities, Issued by Private Enterprises [Member]",
        "verboseLabel": "Private-label residential [Member]"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt securities collateralized by real estate mortgage loans (mortgages), issued by US Government Sponsored Enterprises, such as Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac).",
        "label": "Mortgage-backed Securities, Issued by US Government Sponsored Enterprises [Member]",
        "terseLabel": "GSEs \u2013 MBS [Member]",
        "verboseLabel": "Government Sponsored Enterprises [Member]"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r161",
      "r269",
      "r270",
      "r294",
      "r473"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities collateralized by mortgage loans.",
        "label": "Collateralized Mortgage Backed Securities [Member]",
        "terseLabel": "MBS [Member]"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageLoansInProcessOfForeclosureAmount": {
     "auth_ref": [
      "r136"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process.",
        "label": "Mortgage Loans in Process of Foreclosure, Amount",
        "terseLabel": "In process of foreclosure, included above"
       }
      }
     },
     "localname": "MortgageLoansInProcessOfForeclosureAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MortgageReceivablesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amounts due the Company for loans secured by the collateral of specified real estate property and which loan the borrower (debtor) is obligated to repay in accordance with a predetermined set of payments.",
        "label": "Mortgage Receivable [Member]",
        "terseLabel": "Mortgage Receivable [Member]"
       }
      }
     },
     "localname": "MortgageReceivablesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MultiemployerPlanContributionsByEmployer": {
     "auth_ref": [
      "r297",
      "r301",
      "r302"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of contributions made to multiemployer plan by employer.",
        "label": "Multiemployer Plan, Contributions by Employer",
        "verboseLabel": "Multiemployer Plan, Voluntary Contributions"
       }
      }
     },
     "localname": "MultiemployerPlanContributionsByEmployer",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MultiemployerPlanNameAxis": {
     "auth_ref": [
      "r299"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by legal name of a pension or postretirement benefit plan to which two or more unrelated employers contribute where assets contributed by one participating employer may be used to provide benefits to employees of other participating employers.",
        "label": "Multiemployer Plan Name [Axis]",
        "terseLabel": "Multiemployer Plan Name [Axis]"
       }
      }
     },
     "localname": "MultiemployerPlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNetPensionCostAndFundedStatusDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MultiemployerPlanNameDomain": {
     "auth_ref": [
      "r299"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Legal names of pension or postretirement benefit plans to which two or more unrelated employers contribute to the same plan where assets contributed by one participating employer may be used to provide benefits to employees of other participating employers.",
        "label": "Multiemployer Plan Name [Domain]",
        "terseLabel": "Multiemployer Plan Name [Domain]"
       }
      }
     },
     "localname": "MultiemployerPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNetPensionCostAndFundedStatusDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MultiemployerPlanNumber": {
     "auth_ref": [
      "r300"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Three digit plan number for a pension or postretirement benefit plan to which two or more unrelated employers contribute where assets contributed by one participating employer may be used to provide benefits to employees of other participating employers.",
        "label": "Multiemployer Plan Number",
        "terseLabel": "Multiemployer Plan Number"
       }
      }
     },
     "localname": "MultiemployerPlanNumber",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "threeDigitItemType"
    },
    "us-gaap_MultiemployerPlanTypeAxis": {
     "auth_ref": [
      "r297",
      "r298"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of pension or postretirement benefit plan to which two or more unrelated employers contribute where assets contributed by one participating employer may be used to provide benefits to employees of other participating employers. Types of multiemployer plans include pension benefit plans and postretirement benefit plans.",
        "label": "Multiemployer Plan Type [Axis]",
        "terseLabel": "Multiemployer Plan Type [Axis]"
       }
      }
     },
     "localname": "MultiemployerPlanTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MultiemployerPlansAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Multiemployer Plans [Abstract]",
        "terseLabel": "Multiemployer Plans [Abstract]"
       }
      }
     },
     "localname": "MultiemployerPlansAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNetPensionCostAndFundedStatusDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MultiemployerPlansPensionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pension benefit plan to which two or more unrelated employers contribute where assets contributed by one participating employer may be used to provide benefits to employees of other participating employers.",
        "label": "Multiemployer Plans, Pension [Member]",
        "terseLabel": "Multiemployer Plans, Pension [Member]"
       }
      }
     },
     "localname": "MultiemployerPlansPensionMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MultiemployerPlansTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Types of pension or postretirement benefit plans to which two or more unrelated employers contribute to the same plan where assets contributed by one participating employer may be used to provide benefits to employees of other participating employers. Types of multiemployer plans include pension benefit plans and postretirement benefit plans.",
        "label": "Multiemployer Plans Type [Domain]",
        "terseLabel": "Multiemployer Plans Type [Domain]"
       }
      }
     },
     "localname": "MultiemployerPlansTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NatureOfOperations": {
     "auth_ref": [
      "r104",
      "r114"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for the nature of an entity's business, major products or services, principal markets including location, and the relative importance of its operations in each business and the basis for the determination, including but not limited to, assets, revenues, or earnings. For an entity that has not commenced principal operations, disclosures about the risks and uncertainties related to the activities in which the entity is currently engaged and an understanding of what those activities are being directed toward.",
        "label": "Nature of Operations [Text Block]",
        "terseLabel": "Nature of Operations [Text Block]"
       }
      }
     },
     "localname": "NatureOfOperations",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/BackgroundInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash (used in) provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "FINANCING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net Cash provided by (used in) investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "INVESTING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r74",
      "r76",
      "r80"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash (used in) provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "OPERATING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of profit (loss) after Federal Home Loan Bank (FHLBank) assessments attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent, Net of Federal Home Loan Bank Assessments",
        "totalLabel": "NET INCOME",
        "verboseLabel": "Net income"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetRealizedOrUnrealizedGainLossOnTradingSecurities": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/TradingSecuritiesNetUnrealizedLossesGainsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The sum of the realized and unrealized net gain (loss) on trading securities during the period.",
        "label": "Net Realized and Unrealized Gain (Loss) on Trading Securities",
        "terseLabel": "Net unrealized gains (losses) on trading securities",
        "totalLabel": "Net unrealized gains (losses) on trading securities"
       }
      }
     },
     "localname": "NetRealizedOrUnrealizedGainLossOnTradingSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations",
      "http://www.fhlbboston.com/role/TradingSecuritiesNetUnrealizedLossesGainsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetRealizedOrUnrealizedGainLossOnTradingSecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Trading, Gain (Loss) [Abstract]"
       }
      }
     },
     "localname": "NetRealizedOrUnrealizedGainLossOnTradingSecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TradingSecuritiesNetUnrealizedLossesGainsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetSharesReclassifiedToMandatorilyRedeemableCapitalStockShares": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net number of shares reclassified to mandatorily redeemable capital stock.",
        "label": "Net Shares Reclassified to Mandatorily Redeemable Capital Stock, Shares",
        "negatedTerseLabel": "Shares reclassified to mandatorily redeemable capital stock, shares"
       }
      }
     },
     "localname": "NetSharesReclassifiedToMandatorilyRedeemableCapitalStockShares",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_NetSharesReclassifiedToMandatorilyRedeemableCapitalStockValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Value of net shares reclassified to mandatorily redeemable capital stock.",
        "label": "Net Shares Reclassified to Mandatorily Redeemable Capital Stock, Value",
        "negatedTerseLabel": "Shares reclassified to mandatorily redeemable capital stock",
        "terseLabel": "Capital stock subject to mandatory redemption reclassified from capital"
       }
      }
     },
     "localname": "NetSharesReclassifiedToMandatorilyRedeemableCapitalStockValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementOrChangeInAccountingPrincipleCumulativeEffectOfChangeOnEquityOrNetAssets1": {
     "auth_ref": [
      "r100",
      "r102"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cumulative effect of the change in accounting principle or new accounting pronouncement on retained earnings or other components of equity or net assets in the statement of financial position as of the beginning of the earliest period presented.",
        "label": "New Accounting Pronouncement or Change in Accounting Principle, Cumulative Effect of Change on Equity or Net Assets",
        "verboseLabel": "Cumulative effect of change in accounting principle"
       }
      }
     },
     "localname": "NewAccountingPronouncementOrChangeInAccountingPrincipleCumulativeEffectOfChangeOnEquityOrNetAssets1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "New Accounting Pronouncements and Changes in Accounting Principles [Abstract]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r103"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure of changes in accounting principles, including adoption of new accounting pronouncements, that describes the new methods, amount and effects on financial statement line items.",
        "label": "New Accounting Pronouncements and Changes in Accounting Principles [Text Block]",
        "terseLabel": "New Accounting Pronouncements and Changes in Accounting Principles [Text Block]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidance"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "New Accounting Pronouncements or Change in Accounting Principle [Line Items]",
        "terseLabel": "New Accounting Pronouncements or Change in Accounting Principle [Line Items]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable": {
     "auth_ref": [
      "r101",
      "r102"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Summarization of the changes in an accounting principle or a new accounting pronouncement, including the line items affected by the change and the financial effects of the change on those particular line items.",
        "label": "New Accounting Pronouncements or Change in Accounting Principle [Table]",
        "terseLabel": "New Accounting Pronouncements or Change in Accounting Principle [Table]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoncashOrPartNoncashAcquisitionInvestmentsAcquired1": {
     "auth_ref": [
      "r86",
      "r87",
      "r88"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of investments that an Entity acquires in a noncash (or part noncash) acquisition. Noncash is defined as information about all investing and financing activities of an enterprise during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Noncash or Part Noncash Acquisition, Investments Acquired",
        "terseLabel": "Noncash receipt of trading securities"
       }
      }
     },
     "localname": "NoncashOrPartNoncashAcquisitionInvestmentsAcquired1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NondesignatedMember": {
     "auth_ref": [
      "r322"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument not designated as hedging instrument under Generally Accepted Accounting Principles (GAAP).",
        "label": "Not Designated as Hedging Instrument [Member]",
        "terseLabel": "Not Designated as Hedging Instrument [Member]"
       }
      }
     },
     "localname": "NondesignatedMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoninterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r420"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_DepositsDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of domestic noninterest-bearing deposits held by the entity, which may include demand deposits, checking, brokered and retail deposits.",
        "label": "Noninterest-bearing Deposit Liabilities, Domestic",
        "terseLabel": "Non-interest-bearing"
       }
      }
     },
     "localname": "NoninterestBearingDepositLiabilitiesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpense": {
     "auth_ref": [
      "r438"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total aggregate amount of all noninterest expense.",
        "label": "Noninterest Expense",
        "totalLabel": "Total other expense"
       }
      }
     },
     "localname": "NoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Noninterest Expense [Abstract]",
        "terseLabel": "OTHER EXPENSE"
       }
      }
     },
     "localname": "NoninterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncome": {
     "auth_ref": [
      "r437"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified.",
        "label": "Noninterest Income",
        "totalLabel": "Total other income"
       }
      }
     },
     "localname": "NoninterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Noninterest Income [Abstract]",
        "terseLabel": "OTHER INCOME (LOSS)"
       }
      }
     },
     "localname": "NoninterestIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncomeOtherOperatingIncome": {
     "auth_ref": [
      "r57",
      "r432",
      "r472"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of revenue earned, classified as other, excluding interest income.",
        "label": "Noninterest Income, Other Operating Income",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "NoninterestIncomeOtherOperatingIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestbearingDomesticDepositOther": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DepositsDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of other noninterest-bearing domestic deposit liabilities.",
        "label": "Noninterest-bearing Domestic Deposit, Other",
        "terseLabel": "Non-interest bearing deposits other"
       }
      }
     },
     "localname": "NoninterestbearingDomesticDepositOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotDesignatedAsHedgingInstrumentEconomicHedgeMember": {
     "auth_ref": [
      "r321"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument, not designated as hedging instrument under Generally Accepted Accounting Principles (GAAP), used as economic hedge for exposure to risk.",
        "label": "Not Designated as Hedging Instrument, Economic Hedge [Member]",
        "terseLabel": "Not Designated as Hedging Instrument, Economic Hedge [Member]"
       }
      }
     },
     "localname": "NotDesignatedAsHedgingInstrumentEconomicHedgeMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesReceivableGross": {
     "auth_ref": [
      "r201"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of financing receivable.",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "totalLabel": "Total mortgage loans"
       }
      }
     },
     "localname": "NotesReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ObligationWithJointAndSeveralLiabilityArrangementAmountOutstanding": {
     "auth_ref": [
      "r221"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount outstanding, before the effects of recovery, of obligation under the joint and several liability arrangement.",
        "label": "Obligation with Joint and Several Liability Arrangement, Amount Outstanding",
        "terseLabel": "Obligation with Joint and Several Liability Arrangement, Amount Outstanding"
       }
      }
     },
     "localname": "ObligationWithJointAndSeveralLiabilityArrangementAmountOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OfficeOfFinanceAssessmentsCostAssessedOnFederalHomeLoanBank": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of a Federal Home Loan Bank's (FHLBank) proportionate share of the costs of operating the Office of Finance.",
        "label": "Office of Finance, Cost Assessed on Federal Home Loan Bank",
        "terseLabel": "Office of Finance"
       }
      }
     },
     "localname": "OfficeOfFinanceAssessmentsCostAssessedOnFederalHomeLoanBank",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OffsettingAssetsTableTextBlock": {
     "auth_ref": [
      "r33",
      "r34"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of derivative and other financial assets that are subject to offsetting, including master netting arrangements.",
        "label": "Offsetting Assets [Table Text Block]",
        "terseLabel": "Offsetting Assets [Table Text Block]"
       }
      }
     },
     "localname": "OffsettingAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OffsettingLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r33",
      "r34"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of derivative and other financial liabilities that are subject to offsetting, including master netting arrangements.",
        "label": "Offsetting Liabilities [Table Text Block]",
        "terseLabel": "Offsetting Liabilities [Table Text Block]"
       }
      }
     },
     "localname": "OffsettingLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r397",
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating Lease, Cost"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r394"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Operating lease, liability"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r393"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Operating lease, right-of-use asset"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherAssets": {
     "auth_ref": [
      "r2",
      "r412",
      "r465"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 10.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of assets classified as other.",
        "label": "Other Assets",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "OtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of other assets.",
        "label": "Other Assets, Fair Value Disclosure",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "OtherAssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent": {
     "auth_ref": [
      "r305",
      "r306",
      "r309"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax, after reclassification adjustments, of appreciation (loss) in value of unsold available-for-sale securities, attributable to parent entity. Excludes amounts related to other than temporary impairment (OTTI) loss.",
        "label": "Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, before Tax, Portion Attributable to Parent",
        "terseLabel": "Net unrealized gains (losses) on available-for-sale securities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent": {
     "auth_ref": [
      "r305",
      "r306",
      "r309"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, after reclassification adjustment, of (increase) decrease in accumulated other comprehensive (income) loss for defined benefit plan, attributable to parent entity.",
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, before Tax, after Reclassification Adjustment, Attributable to Parent",
        "negatedLabel": "Total amount recognized in other comprehensive income",
        "verboseLabel": "Pension and postretirement benefits"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails",
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesBeforeTaxPortionAttributableToParent": {
     "auth_ref": [
      "r305",
      "r306",
      "r309"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax, after reclassification adjustments, of increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss), attributable to parent entity.",
        "label": "Other Comprehensive Income (Loss), Derivatives Qualifying as Hedges, before Tax, Portion Attributable to Parent",
        "terseLabel": "Net unrealized (losses) gains relating to hedging activities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDerivativesQualifyingAsHedgesBeforeTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by location in other comprehensive income.",
        "label": "Other Comprehensive Income Location [Axis]",
        "terseLabel": "Other Comprehensive Income Location [Axis]"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLocationDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Location in other comprehensive income.",
        "label": "Other Comprehensive Income Location [Domain]",
        "terseLabel": "Other Comprehensive Income Location [Domain]"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax": {
     "auth_ref": [
      "r49",
      "r51",
      "r53",
      "r278"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of reclassification adjustment from accumulated other comprehensive (income) loss for prior service cost (credit) of defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, Prior Service Cost (Credit), Reclassification Adjustment from AOCI, before Tax",
        "negatedTerseLabel": "Amortization of prior service cost"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent": {
     "auth_ref": [
      "r305",
      "r306",
      "r309"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax of other comprehensive income (loss) attributable to parent entity.",
        "label": "Other Comprehensive Income (Loss), before Tax, Portion Attributable to Parent",
        "terseLabel": "Total other comprehensive income",
        "totalLabel": "Other comprehensive income (loss)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Other Comprehensive Income (Loss), before Tax, Portion Attributable to Parent [Abstract]",
        "terseLabel": "Other comprehensive income:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent": {
     "auth_ref": [
      "r49"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax and after reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness, attributable to parent.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, before Tax, Parent",
        "terseLabel": "Net unrealized (losses) gains relating to hedging activities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax": {
     "auth_ref": [
      "r49",
      "r51",
      "r331"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax",
        "negatedLabel": "Amortization - hedging activities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax": {
     "auth_ref": [
      "r47",
      "r49"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax and reclassification adjustment, of (increase) decrease in accumulated other comprehensive income of defined benefit plan, that has not been recognized in net periodic benefit cost (credit).",
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, before Reclassification Adjustment and Tax",
        "negatedTerseLabel": "Net actuarial (loss) gain"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax": {
     "auth_ref": [
      "r45",
      "r49",
      "r278"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of gain (loss) for (increase) decrease in value of benefit obligation for change in actuarial assumptions and increase (decrease) in value of plan assets from experience different from that assumed of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit.",
        "label": "Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss) Arising During Period, before Tax",
        "negatedTerseLabel": "Net actuarial loss (gain)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax": {
     "auth_ref": [
      "r49",
      "r51",
      "r53",
      "r331"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax of reclassification adjustment from accumulated other comprehensive income of accumulated gain (loss) realized from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's deferred hedging gain (loss).",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI on Derivatives, before Tax",
        "negatedLabel": "Amortization - hedging activities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax": {
     "auth_ref": [
      "r49",
      "r51",
      "r53"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": 9.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of reclassification adjustment from accumulated other comprehensive (income) loss for net period benefit cost (credit) of defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, Reclassification Adjustment from AOCI, before Tax",
        "terseLabel": "Amortization - pension and postretirement benefits"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r338"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption in which reported facts about other comprehensive income have been included.",
        "label": "Other Comprehensive Income (Loss) [Member]",
        "terseLabel": "Other Comprehensive Income (Loss) [Member]"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r40",
      "r49",
      "r359"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss).",
        "label": "Other Comprehensive Income (Loss), Unrealized Gain (Loss) on Derivatives Arising During Period, Net of Tax",
        "terseLabel": "(Losses) gains recognized in other comprehensive income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveLossHeldToMaturitySecurityAdjustmentFromAociForAccretionOfNoncreditPortionOfOttiBeforeTax": {
     "auth_ref": [
      "r50",
      "r153"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of adjustment from accumulated other comprehensive loss for accretion of other than temporary impairment (OTTI) on investment in held-to-maturity security.",
        "label": "Other Comprehensive Loss, Held-to-maturity Security, Adjustment from AOCI for Accretion of Noncredit Portion of OTTI, before Tax",
        "terseLabel": "Accretion of noncredit loss"
       }
      }
     },
     "localname": "OtherComprehensiveLossHeldToMaturitySecurityAdjustmentFromAociForAccretionOfNoncreditPortionOfOttiBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveLossHeldToMaturitySecurityOttiBeforeTaxAfterAdjustmentsAttributableToParent": {
     "auth_ref": [
      "r43",
      "r52",
      "r153",
      "r306",
      "r309"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, after adjustments, of increase (decrease) in other than temporary impairment (OTTI) on investment in held-to-maturity security, recognized in other comprehensive loss and attributable to parent.",
        "label": "Other Comprehensive Loss, Held-to-maturity Security, OTTI, before Tax, after Adjustments, Attributable to Parent",
        "terseLabel": "Net noncredit portion of other-than-temporary impairment gains on held-to-maturity securities"
       }
      }
     },
     "localname": "OtherComprehensiveLossHeldToMaturitySecurityOttiBeforeTaxAfterAdjustmentsAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation.",
        "label": "Other Cost and Expense, Operating",
        "terseLabel": "Other operating expenses"
       }
      }
     },
     "localname": "OtherCostAndExpenseOperating",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherExpenseMember": {
     "auth_ref": [
      "r338"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other expense.",
        "label": "Other Expense [Member]",
        "terseLabel": "Other Expense [Member]"
       }
      }
     },
     "localname": "OtherExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "auth_ref": [
      "r439"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 10.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other.",
        "label": "Other Interest and Dividend Income",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherInterestAndDividendIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilities": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 7.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liabilities classified as other.",
        "label": "Other Liabilities",
        "terseLabel": "Other liabilities",
        "verboseLabel": "Value of the guarantees related to standby letters of credit"
       }
      }
     },
     "localname": "OtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncashIncomeExpense": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of income (expense) included in net income that results in no cash inflow (outflow), classified as other.",
        "label": "Other Noncash Income (Expense)",
        "negatedTerseLabel": "Other adjustments"
       }
      }
     },
     "localname": "OtherNoncashIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoninterestExpense": {
     "auth_ref": [
      "r438"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of noninterest expense classified as other.",
        "label": "Other Noninterest Expense",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherNoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember": {
     "auth_ref": [
      "r255",
      "r284",
      "r285",
      "r296"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Plan designed to provide other postretirement benefits. Includes, but is not limited to, defined benefit and defined contribution plans. Excludes pension benefits.",
        "label": "Other Postretirement Benefits Plan [Member]",
        "terseLabel": "Other Postretirement Benefit Plan, Defined Benefit [Member]"
       }
      }
     },
     "localname": "OtherPostretirementBenefitPlansDefinedBenefitMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails",
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsAdditionsAdditionalCreditLosses": {
     "auth_ref": [
      "r186"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents an increase to the cumulative amount of credit losses recognized in earnings for an other than temporary impairment (OTTI) of a debt security held for which a previous OTTI was recognized and the investor does not intend to sell the debt security and it is not more likely than not that the investor will be required to sell the debt security before recovery of its amortized cost basis.",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Additions, Additional Credit Losses",
        "terseLabel": "Additional credit losses for which an other-than-temporary impairment charge was previously recognized"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsAdditionsAdditionalCreditLosses",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsAdditionsNoPreviousImpairment": {
     "auth_ref": [
      "r185"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents an increase to the cumulative amount of credit losses recognized in earnings for an other than temporary impairment (OTTI) of a debt security held for which no such other than temporary impairment (OTTI) was previously recognized.",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Additions, No Previous Impairment",
        "terseLabel": "Credit losses for which other-than-temporary impairment was not previously recognized"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsAdditionsNoPreviousImpairment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain": {
     "auth_ref": [
      "r183"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Provides the categories of debt securities, available-for-sale or held-to-maturity, on which an entity may recognize other than temporary impairments (OTTI) for which a portion related to credit losses has been recognized in earnings and a portion related to all other factors has been recognized in other comprehensive income.",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Categories of Investments [Domain]",
        "terseLabel": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Categories of Investments [Domain]"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesTables",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesTables",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld": {
     "auth_ref": [
      "r184",
      "r188"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative amount of credit losses recognized in earnings related to debt securities held for which a portion of an other than temporary impairment (OTTI) was recognized in other comprehensive income (a component of shareholders' equity).",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Credit Losses on Debt Securities Held",
        "periodEndLabel": "Balance at end of year",
        "periodStartLabel": "Balance at beginning of year"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings [Line Items]",
        "terseLabel": "Other than Temporary Impairment, Credit Losses Recognized in Earnings [Line Items]"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsReductionsCashFlows": {
     "auth_ref": [
      "r187"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents reductions in the cumulative amount of credit losses recognized in earnings for an other than temporary impairment (OTTI) of a debt security held due to increases in cash flows expected to be collected and recognized over the remaining life of the security.",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Reductions, Cash Flows",
        "negatedTerseLabel": "Portion of increase in cash flows expected to be collected over the remaining life of the security that are recognized in the current period as interest income"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsReductionsCashFlows",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings [Roll Forward]",
        "terseLabel": "Other than Temporary Impairment, Credit Losses Recognized in Earnings [Roll Forward]"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentRollForwardOfAmountsRelatedToCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsTableTextBlock": {
     "auth_ref": [
      "r183"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the amount of other than temporary impairment (OTTI) related to credit losses recognized in earnings including: (a) the beginning balance of the amount related to credit losses on debt securities held by the investor at the beginning of the period for which a portion of an OTTI was recognized in other comprehensive income; (b) additions for the amount related to the credit loss for which an OTTI was not previously recognized; (c) reductions for securities sold during the period (realized); (d) reductions for securities for which the amount previously recognized in other comprehensive income was recognized in earnings because the investor intends to sell the security or more likely than not will be required to sell the security before recovery of its amortized cost basis; (e) additional increases to the amount related to the credit loss for which an OTTI was previously recognized when the investor does not intend to sell the security and it is not more likely than not that the investor will be required to sell the security before recovery of its amortized cost basis; (f) reductions for increases in cash flows expected to be collected that are recognized over the remaining life of the security; and (g) the ending balance of the amount related to credit losses on debt securities held by the entity at the end of the period for which a portion of an OTTI was recognized in other comprehensive income.",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings [Table Text Block]",
        "terseLabel": "Rollforward of the Amounts Related to Credit Losses Recognized into Earnings [Table Text Block]"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Other than Temporary Impairment Losses, Investments [Abstract]"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentHeldtomaturitySecurities": {
     "auth_ref": [
      "r43",
      "r49",
      "r50",
      "r306",
      "r309"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax of other than temporary impairment (OTTI) on investment in held-to-maturity debt security, recognized in other comprehensive loss, attributable to parent entity.",
        "label": "Other than Temporary Impairment Loss, Investments, Portion in Other Comprehensive Loss, before Tax, Attributable to Parent Held-to-maturity Securities",
        "negatedLabel": "Noncredit other-than-temporary impairment losses"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentHeldtomaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of other than temporary impairment (OTTI) losses on equity securities, OTTI related to credit losses on debt securities, and OTTI losses on debt securities when the entity intends to sell the securities or it is more likely than not that the entity will be required to sell the securities before recovery of its amortized cost basis. Additionally, this item includes OTTI losses recognized during the period on investments accounted for under the cost method of accounting.",
        "label": "Other than Temporary Impairment Losses, Investments, Portion Recognized in Earnings, Net",
        "negatedTerseLabel": "Net other-than-temporary impairment losses on investment securities, credit portion",
        "terseLabel": "Net other-than-temporary impairment losses on investment securities, credit portion"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeHeldtomaturitySecuritiesBeforeTax": {
     "auth_ref": [
      "r50",
      "r52",
      "r53",
      "r157"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of reclassification adjustment from accumulated other comprehensive income for other than temporary impairment (OTTI) realized in earnings for investment in held-to-maturity security.",
        "label": "Other Comprehensive Loss, Held-to-maturity Security, Reclassification Adjustment from AOCI for Noncredit Portion of OTTI, before Tax",
        "terseLabel": "Noncredit other-than-temporary impairment losses reclassified to credit loss"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeHeldtomaturitySecuritiesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OverTheCounterMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Transaction that does not take place on an organized exchange.",
        "label": "Over the Counter [Member]",
        "terseLabel": "Uncleared derivatives [Member]"
       }
      }
     },
     "localname": "OverTheCounterMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r141",
      "r142",
      "r197",
      "r208"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table Text Block]",
        "terseLabel": "Recorded Investment in Delinquent Mortgage Loans [Table Text Block]"
       }
      }
     },
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PaymentsForAffordableHousingPrograms": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow for payments made by the Federal Home Loan Banks (FHLBanks) to the Affordable Housing Program (AHP).",
        "label": "Payments for Affordable Housing Programs",
        "negatedLabel": "AHP direct grant disbursements",
        "terseLabel": "AHP payments"
       }
      }
     },
     "localname": "PaymentsForAffordableHousingPrograms",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramNarrativesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForBondsTransferredToOtherOtherFederalHomeLoanBanks": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow from transfers and assumptions of primary liability of consolidated obligations to another Federal Home Loan Bank (FHLBank).",
        "label": "Payments for Bonds Transferred to Other Federal Home Loan Banks",
        "negatedTerseLabel": "Bonds transferred to other FHLBanks",
        "terseLabel": "Bonds transferred to other FHLBanks at fair value"
       }
      }
     },
     "localname": "PaymentsForBondsTransferredToOtherOtherFederalHomeLoanBanks",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows",
      "http://www.fhlbboston.com/role/TransactionsWithOtherFhlbanksDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForFederalHomeLoanBankAdvances": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow for disbursement to borrower related to advance, made by Federal Home Loan Bank (FHLBank), classified as investing activity.",
        "label": "Payments for FHLBank Advance, Investing Activities",
        "negatedTerseLabel": "Originated"
       }
      }
     },
     "localname": "PaymentsForFederalHomeLoanBankAdvances",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromHedgeFinancingActivities": {
     "auth_ref": [
      "r97"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash outflow or inflow for a financial contract that meets the hedge criteria as either cash flow hedge, fair value hedge or hedge of net investment in foreign operations.",
        "label": "Payments for (Proceeds from) Hedge, Financing Activities",
        "negatedTerseLabel": "Net payments on derivatives with a financing element"
       }
      }
     },
     "localname": "PaymentsForProceedsFromHedgeFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromLoansAndLeasesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Payments for (Proceeds from) Loans and Leases [Abstract]",
        "terseLabel": "Mortgage loans held for portfolio:"
       }
      }
     },
     "localname": "PaymentsForProceedsFromLoansAndLeasesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsForProceedsFromOtherInvestingActivities": {
     "auth_ref": [
      "r64",
      "r66",
      "r97"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash (inflow) outflow from investing activities classified as other.",
        "label": "Payments for (Proceeds from) Other Investing Activities",
        "negatedTerseLabel": "Other investing activities, net"
       }
      }
     },
     "localname": "PaymentsForProceedsFromOtherInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "auth_ref": [
      "r69"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow to reacquire common stock during the period.",
        "label": "Payments for Repurchase of Common Stock",
        "negatedTerseLabel": "Payments for repurchase of capital stock"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividends": {
     "auth_ref": [
      "r69"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests.",
        "label": "Payments of Dividends",
        "terseLabel": "Dividend, including dividends on mandatorily redeemable capital stock"
       }
      }
     },
     "localname": "PaymentsOfDividends",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r69"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Common Stock",
        "negatedTerseLabel": "Cash dividends paid"
       }
      }
     },
     "localname": "PaymentsOfDividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r62",
      "r65",
      "r156"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow to acquire investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Payments to Acquire Debt Securities, Available-for-sale",
        "negatedTerseLabel": "Purchases"
       }
      }
     },
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Payments to Acquire Investments [Abstract]",
        "terseLabel": "Trading securities:"
       }
      }
     },
     "localname": "PaymentsToAcquireInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsToAcquireLoansHeldForInvestment": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow associated with purchasing loans held for investment purposes during the period.",
        "label": "Payments to Acquire Loans Held-for-investment",
        "negatedTerseLabel": "Purchases"
       }
      }
     },
     "localname": "PaymentsToAcquireLoansHeldForInvestment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireTradingSecuritiesHeldforinvestment": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow to acquire securities classified as trading securities and held for investment purposes. Excludes payments for trading securities purchased and held principally for the purpose of selling them in the near term (thus held for only a short period of time).",
        "label": "Payments to Acquire Trading Securities Held-for-investment",
        "negatedTerseLabel": "Purchases"
       }
      }
     },
     "localname": "PaymentsToAcquireTradingSecuritiesHeldforinvestment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock": {
     "auth_ref": [
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for pension and other postretirement benefits.",
        "label": "Pension and Other Postretirement Benefits Disclosure [Text Block]",
        "terseLabel": "Employee Retirement Plans [Text Block]"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlans"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r379"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion at Fair Value Measurement [Member]",
        "terseLabel": "Portion at Fair Value Measurement [Member]"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PrepaymentFeesOnAdvancesNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of income earned, after hedging basis adjustments, from fees charged for prepayment of certain Federal Home Loan Bank (FHLBank) advances before original maturity.",
        "label": "Prepayment Fees on Advances, Net",
        "terseLabel": "Prepayment fees on advances, net",
        "totalLabel": "Advance prepayment fees recognized in income, net",
        "verboseLabel": "Prepayment fees received on advances"
       }
      }
     },
     "localname": "PrepaymentFeesOnAdvancesNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrimeMember": {
     "auth_ref": [
      "r202"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Credit rating classification of borrowers with strong credit histories and who have a low risk of default and qualify for the prime rate.",
        "label": "Prime [Member]",
        "terseLabel": "Prime [Member]"
       }
      }
     },
     "localname": "PrimeMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PriorPeriodReclassificationAdjustmentDescription": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for reclassifications that affects the comparability of the financial statements.",
        "label": "Reclassification, Policy [Policy Text Block]",
        "terseLabel": "Reclassification, Policy"
       }
      }
     },
     "localname": "PriorPeriodReclassificationAdjustmentDescription",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ProceedsFromFederalHomeLoanBankAdvances": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow from collection of advance by Federal Home Loan Bank (FHLBank), classified as investing activity.",
        "label": "Proceeds from FHLBank Advance, Investing Activities",
        "terseLabel": "Repaid"
       }
      }
     },
     "localname": "ProceedsFromFederalHomeLoanBankAdvances",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Proceeds from issuance of capital stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfLongTermDebtAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Proceeds from Issuance of Long-term Debt [Abstract]",
        "terseLabel": "Net proceeds from issuance of consolidated obligations:"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfLongTermDebtAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfOtherLongTermDebt": {
     "auth_ref": [
      "r68"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow from issuance of long-term debt classified as other.",
        "label": "Proceeds from Issuance of Other Long-term Debt",
        "terseLabel": "Bonds"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfOtherLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromOtherShortTermDebt": {
     "auth_ref": [
      "r68"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow from short-term debt classified as other.",
        "label": "Proceeds from Other Short-term Debt",
        "terseLabel": "Discount notes"
       }
      }
     },
     "localname": "ProceedsFromOtherShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks": {
     "auth_ref": [
      "r83",
      "r446"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash inflow or outflow in Interest-bearing Deposits by banks in other financial institutions for relatively short periods of time including, for example, certificates of deposits.",
        "label": "Proceeds from (Payments for) in Interest-bearing Deposits in Banks",
        "terseLabel": "Interest-bearing deposits"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForInInterestBearingDepositsInBanks",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForSecuritiesPurchasedUnderAgreementsToResell": {
     "auth_ref": [
      "r82",
      "r83"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash flow from purchases followed by sales of securities under terms of reverse repurchase agreements.",
        "label": "Proceeds from (Payments for) Securities Purchased under Agreements to Resell",
        "terseLabel": "Securities purchased under agreements to resell"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForSecuritiesPurchasedUnderAgreementsToResell",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from repayments of the balance excluding interest (principal) on loans receivable and leases held for investment purposes.",
        "label": "Proceeds from Principal Repayments on Loans and Leases Held-for-investment",
        "terseLabel": "Proceeds"
       }
      }
     },
     "localname": "ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r62",
      "r63",
      "r156"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow from sale, maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Proceeds from Sale and Maturity of Debt Securities, Available-for-sale",
        "terseLabel": "Proceeds"
       }
      }
     },
     "localname": "ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Proceeds from Sale and Maturity of Debt Securities, Available-for-sale [Abstract]",
        "terseLabel": "Available-for-sale securities:"
       }
      }
     },
     "localname": "ProceedsFromSaleAndMaturityOfAvailableForSaleSecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities": {
     "auth_ref": [
      "r63",
      "r156"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow from the sale or maturity of long-term held-to-maturity securities.",
        "label": "Proceeds from Sale and Maturity of Held-to-maturity Securities",
        "terseLabel": "Proceeds"
       }
      }
     },
     "localname": "ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Proceeds from Sale and Maturity of Held-to-maturity Securities [Abstract]",
        "terseLabel": "Held-to-maturity securities:"
       }
      }
     },
     "localname": "ProceedsFromSaleAndMaturityOfHeldToMaturitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ProceedsFromSaleAndMaturityOfTradingSecuritiesHeldforinvestment": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow associated with the sale, maturities, repayments and calls of securities classified as trading securities and held for investment purposes. Excludes proceeds from trading securities purchased and held principally for the purpose of selling them in the near term (thus held for only a short period of time).",
        "label": "Proceeds from Sale and Maturity of Debt and Equity Securities, FV-NI, Held-for-investment",
        "terseLabel": "Proceeds"
       }
      }
     },
     "localname": "ProceedsFromSaleAndMaturityOfTradingSecuritiesHeldforinvestment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities": {
     "auth_ref": [
      "r63",
      "r156"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow associated with the sale of securities that had been designated as held-to-maturity. Excludes proceeds from maturities, prepayments and calls by the issuer.",
        "label": "Proceeds from Sale of Held-to-maturity Securities",
        "terseLabel": "Proceeds from sale of held-to-maturity securities"
       }
      }
     },
     "localname": "ProceedsFromSaleOfHeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesProceedsFromSaleAndGrossGainsAndLossesOnHtmSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r55",
      "r56",
      "r73",
      "r116",
      "r117",
      "r305",
      "r307",
      "r308",
      "r311",
      "r312"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net Income"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r16",
      "r90",
      "r219"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, basis of assets, depreciation and depletion methods used, including composite deprecation, estimated useful lives, capitalization policy, accounting treatment for costs incurred for repairs and maintenance, capitalized interest and the method it is calculated, disposals and impairments.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property, Plant and Equipment, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Useful Life",
        "terseLabel": "Premises, software, and equipment, useful life"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ProvisionForLoanLossesExpensed": {
     "auth_ref": [
      "r195",
      "r419",
      "r431"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of credit loss expense (reversal of expense) for financing receivable.",
        "label": "Financing Receivable, Credit Loss, Expense (Reversal)",
        "terseLabel": "Provision for (reduction of ) credit losses"
       }
      }
     },
     "localname": "ProvisionForLoanLossesExpensed",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails",
      "http://www.fhlbboston.com/role/StatementsOfCashFlows",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateAcquiredThroughForeclosure": {
     "auth_ref": [
      "r119",
      "r121"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of land and buildings obtained through foreclosure proceedings or defeasance in full or partial satisfaction of a debt arrangement.",
        "label": "Real Estate Acquired Through Foreclosure",
        "terseLabel": "Real Estate Acquired Through Foreclosure"
       }
      }
     },
     "localname": "RealEstateAcquiredThroughForeclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedGainLossOnInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of realized gains and losses on investments reported in the statement of income.",
        "label": "Realized Gain (Loss) on Investments [Table Text Block]",
        "terseLabel": "HTM Securities proceeds from sale and gains and losses [Table Text Block]"
       }
      }
     },
     "localname": "RealizedGainLossOnInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ReceivableTypeDomain": {
     "auth_ref": [
      "r24"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financing arrangement representing a contractual right to receive money either on demand or on fixed and determinable dates.",
        "label": "Receivable [Domain]",
        "terseLabel": "Receivable [Domain]"
       }
      }
     },
     "localname": "ReceivableTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesDerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReceivablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Receivables [Abstract]"
       }
      }
     },
     "localname": "ReceivablesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Axis]",
        "terseLabel": "Reclassification out of Accumulated Other Comprehensive Income [Axis]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Domain]",
        "terseLabel": "Reclassification out of Accumulated Other Comprehensive Income [Domain]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identifies item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Member]",
        "terseLabel": "Reclassification out of Accumulated Other Comprehensive Income [Member]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RegulatorExpensesCostAssessedOnFederalHomeLoanBank": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of fees or assessments to fund the operations of the regulator of Federal Home Loan Banks (FHLBanks).",
        "label": "Regulator Expenses, Cost Assessed on Federal Home Loan Bank",
        "terseLabel": "Federal Housing Finance Agency (the FHFA)"
       }
      }
     },
     "localname": "RegulatorExpensesCostAssessedOnFederalHomeLoanBank",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermDebtAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Repayments of Long-term Debt [Abstract]",
        "terseLabel": "Payments for maturing and retiring consolidated obligations:"
       }
      }
     },
     "localname": "RepaymentsOfLongTermDebtAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities": {
     "auth_ref": [
      "r69"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow related to equity securities that embody an unconditional obligation requiring the issuer to redeem the securities by transferring the assets at a specified or determinable date (or dates) that is (or are) initially more than one year (or the normal operating cycle, if longer) from the issuance date, or upon an event that is certain to occur beyond one year (or the normal operating cycle, if longer) from the issuance date.",
        "label": "Repayments of Mandatory Redeemable Capital Securities",
        "negatedLabel": "Redemption/repurchase of mandatorily redeemable capital stock",
        "negatedTerseLabel": "Payments for redemption of mandatorily redeemable capital stock"
       }
      }
     },
     "localname": "RepaymentsOfMandatoryRedeemableCapitalSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockDetails",
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfOtherLongTermDebt": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow for the payment of debt classified as other, maturing after one year or the operating cycle, if longer.",
        "label": "Repayments of Other Long-term Debt",
        "negatedTerseLabel": "Bonds"
       }
      }
     },
     "localname": "RepaymentsOfOtherLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfOtherShortTermDebt": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow for the payment of debt classified as other, maturing within one year or the operating cycle, if longer.",
        "label": "Repayments of Other Short-term Debt",
        "negatedTerseLabel": "Discount notes"
       }
      }
     },
     "localname": "RepaymentsOfOtherShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResidentialMortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r161",
      "r269"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities collateralized by residential real estate mortgage loans.",
        "label": "Residential Mortgage Backed Securities [Member]",
        "terseLabel": "Residential Mortgage Backed Securities [Member]"
       }
      }
     },
     "localname": "ResidentialMortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r12",
      "r251",
      "r468"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails": {
       "order": 3.0,
       "parentTag": "fhlbbost_PermanentCapital",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Retained earnings",
        "totalLabel": "Total retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Retained Earnings (Accumulated Deficit) [Abstract]",
        "terseLabel": "Retained earnings:"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficitAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetainedEarningsAppropriated": {
     "auth_ref": [
      "r26",
      "r244",
      "r245",
      "r464"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_RetainedEarningsAccumulatedDeficit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A segregation of retained earnings which is unavailable for dividend distribution. Includes also retained earnings appropriated for loss contingencies.",
        "label": "Retained Earnings, Appropriated",
        "terseLabel": "Restricted",
        "verboseLabel": "Restricted retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsAppropriated",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsAppropriatedMember": {
     "auth_ref": [
      "r10",
      "r244"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A segregation of retained earnings which is unavailable for dividend distribution. Includes also retained earnings appropriated for loss contingencies.",
        "label": "Retained Earnings, Appropriated [Member]",
        "terseLabel": "Retained Earnings, Restricted"
       }
      }
     },
     "localname": "RetainedEarningsAppropriatedMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings, Total"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsUnappropriated": {
     "auth_ref": [
      "r11",
      "r467"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_RetainedEarningsAccumulatedDeficit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A segregation of retained earnings which is available for dividend distribution. Earnings not paid out as dividends but instead reinvested in the core business or used to pay off debt. Unappropriated profit is part of shareholder equity. Also called cumulative distributions or earned surplus or accumulated earnings or unappropriated profit.",
        "label": "Retained Earnings, Unappropriated",
        "terseLabel": "Unrestricted"
       }
      }
     },
     "localname": "RetainedEarningsUnappropriated",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsUnappropriatedMember": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A segregation of retained earnings which is available for dividend distribution. Earnings not paid out as dividends but instead reinvested in the core business or used to pay off debt. Unappropriated profit is part of shareholder equity. Also called cumulative distributions or earned surplus or accumulated earnings or unappropriated profit.",
        "label": "Retained Earnings, Unappropriated [Member]",
        "terseLabel": "Retained Earnings, Unrestricted"
       }
      }
     },
     "localname": "RetainedEarningsUnappropriatedMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetirementPlanTypeAxis": {
     "auth_ref": [
      "r254",
      "r255",
      "r284",
      "r285",
      "r296"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of retirement benefit plan. Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
        "label": "Retirement Plan Type [Axis]",
        "terseLabel": "Retirement Plan Type [Axis]"
       }
      }
     },
     "localname": "RetirementPlanTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails",
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetirementPlanTypeDomain": {
     "auth_ref": [
      "r254",
      "r255",
      "r284",
      "r285",
      "r296"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of plan designed to provide participants with retirement benefits. Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
        "label": "Retirement Plan Type [Domain]",
        "terseLabel": "Retirement Plan Type [Domain]"
       }
      }
     },
     "localname": "RetirementPlanTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails",
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r50"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the components of accumulated other comprehensive income (loss).",
        "label": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Schedule of Accumulated Other Comprehensive Loss [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfActivityInAffordableHousingProgramObligationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the activity in the Affordable Housing Program (AHP) obligation.",
        "label": "Activity in Affordable Housing Program Obligation [Table Text Block]",
        "terseLabel": "Roll-forward of the AHP Liability[Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfActivityInAffordableHousingProgramObligationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AffordableHousingProgramTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r278"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the net gain (loss) and net prior service cost or credit recognized in other comprehensive income (loss) for the period for pension plans and/or other employee benefit plans, and reclassification adjustments of other comprehensive income (loss) for the period, as those amounts, including amortization of the net transition asset or obligation, are recognized as components of net periodic benefit cost.",
        "label": "Schedule of Amounts Recognized in Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Schedule of Amounts Recognized in Other Comprehensive Income (Loss) [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAssumptionsUsedTableTextBlock": {
     "auth_ref": [
      "r280"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of assumption used to determine benefit obligation and net periodic benefit cost of defined benefit plan. Includes, but is not limited to, discount rate, rate of compensation increase, expected long-term rate of return on plan assets and interest crediting rate.",
        "label": "Defined Benefit Plan, Assumptions [Table Text Block]",
        "terseLabel": "Defined Benefit Plan, Assumptions [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfAssumptionsUsedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Securities, Available-for-sale [Line Items]",
        "terseLabel": "Debt Securities, Available-for-sale [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation of available-for-sale securities from cost basis to fair value.",
        "label": "Schedule of Available-for-sale Securities Reconciliation [Table Text Block]",
        "terseLabel": "Available-for-Sale (AFS) Securities by Major Security Type [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesTable": {
     "auth_ref": [
      "r166",
      "r167",
      "r181",
      "r182",
      "r183",
      "r190",
      "r447",
      "r452"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of available-for-sale securities which includes, but is not limited to, changes in the cost basis and fair value, fair value and gross unrealized gain (loss), fair values by type of security, contractual maturity and classification, amortized cost basis, contracts to acquire securities to be accounted for as available-for-sale, debt maturities, transfers to trading, change in net unrealized holding gain (loss) net of tax, continuous unrealized loss position fair value, aggregate losses qualitative disclosures, other than temporary impairment (OTTI) losses or other disclosures related to available for sale securities.",
        "label": "Schedule of Available-for-sale Securities [Table]",
        "terseLabel": "Schedule of Available-for-sale Securities [Table]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock": {
     "auth_ref": [
      "r457",
      "r459",
      "r460",
      "r461"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the capital amounts and ratios as of the balance sheet date, indicating whether the entity or entities are in compliance with regulatory capital requirements, by entity.",
        "label": "Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table Text Block]",
        "terseLabel": "Compliance with Regulatory Capital Requirements [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "auth_ref": [
      "r21",
      "r92",
      "r247",
      "r248",
      "r249",
      "r250",
      "r388",
      "r389",
      "r391",
      "r456"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table Text Block]",
        "terseLabel": "CO Bonds Long-term Debt Instruments [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable": {
     "auth_ref": [
      "r284",
      "r285",
      "r286",
      "r287",
      "r294"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosures about an individual defined benefit pension plan or an other postretirement defined benefit plan. It may be appropriate to group certain similar plans.  Also includes schedule for fair value of plan assets by major categories of plan assets by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets or liabilities (Level 1), Significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Defined Benefit Plans Disclosures [Table]",
        "terseLabel": "Schedule of Defined Benefit Plans Disclosures [Table]"
       }
      }
     },
     "localname": "ScheduleOfDefinedBenefitPlansDisclosuresTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNetPensionCostAndFundedStatusDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "auth_ref": [
      "r325",
      "r334",
      "r340"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Derivative Instruments, Gain (Loss) [Table Text Block]",
        "terseLabel": "Net Gains (Losses) on Derivatives and Hedging Activities [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock": {
     "auth_ref": [
      "r329"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Schedule of Derivative Instruments in Statement of Financial Position, Fair Value [Table Text Block]",
        "terseLabel": "Fair Value of Derivative Instruments [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfExpectedBenefitPaymentsTableTextBlock": {
     "auth_ref": [
      "r272"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of benefits expected to be paid by pension plans and/or other employee benefit plans in each of the next five fiscal years and in the aggregate for the five fiscal years thereafter.",
        "label": "Schedule of Expected Benefit Payments [Table Text Block]",
        "terseLabel": "Schedule of Expected Benefit Payments [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfExpectedBenefitPaymentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r330"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure for fair value hedging instruments of (a) the location and amount of gains and losses reported in the statement of financial performance and (b) the location and fair value amounts of the instruments reported in the statement of financial position.",
        "label": "Schedule of Fair Value Hedging Instruments, Statements of Financial Performance and Financial Position, Location [Table Text Block]",
        "terseLabel": "Gains (Losses) By Type of Hedged Item [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "auth_ref": [
      "r196"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table]",
        "terseLabel": "Financing Receivable, Allowance for Credit Loss [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesAllowanceRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesPastDueTable": {
     "auth_ref": [
      "r197",
      "r208"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table]",
        "terseLabel": "Financing Receivable, Past Due [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesPastDueTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of Held-to-maturity Securities [Line Items]",
        "terseLabel": "Schedule of Held-to-maturity Securities [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfHeldToMaturitySecuritiesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesTables",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentProjectedHomePricesRecoveriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfHeldToMaturitySecuritiesTable": {
     "auth_ref": [
      "r177"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity [Table]",
        "terseLabel": "Debt Securities, Held-to-maturity [Table]"
       }
      }
     },
     "localname": "ScheduleOfHeldToMaturitySecuritiesTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesTables",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentProjectedHomePricesRecoveriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r237"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the combined aggregate amount of maturities and sinking fund requirements for all long-term borrowings for each of the five years following the date of the latest balance sheet date presented.",
        "label": "Schedule of Maturities of Long-term Debt [Table Text Block]",
        "terseLabel": "CO Bonds by Year of Contractual Maturity [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNetBenefitCostsTableTextBlock": {
     "auth_ref": [
      "r273"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the components of net benefit costs for pension plans and/or other employee benefit plans including service cost, interest cost, expected return on plan assets, gain (loss), prior service cost or credit, transition asset or obligation, and gain (loss) recognized due to settlements or curtailments.",
        "label": "Schedule of Net Benefit Costs [Table Text Block]",
        "terseLabel": "Net Periodic Benefit Cost [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfNetBenefitCostsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNetFundedStatusTableTextBlock": {
     "auth_ref": [
      "r268"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of net funded status of pension plans and/or other employee benefit plans.",
        "label": "Schedule of Net Funded Status [Table Text Block]",
        "terseLabel": "Schedule of Net Funded Status [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfNetFundedStatusTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNetPeriodicBenefitCostNotYetRecognizedTableTextBlock": {
     "auth_ref": [
      "r279"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the amounts related to pension plans and/or other employee benefit plans in accumulated other comprehensive income or loss that have not yet been recognized as components of net periodic benefit cost, such as the net gain (loss), net prior service cost or credit, and net transition asset or obligation.",
        "label": "Schedule of Net Periodic Benefit Cost Not yet Recognized [Table Text Block]",
        "terseLabel": "Schedule of Net Periodic Benefit Cost Not yet Recognized [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfNetPeriodicBenefitCostNotYetRecognizedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r333",
      "r335"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of derivative instrument not designated or qualifying as hedging instrument.",
        "label": "Derivatives Not Designated as Hedging Instruments [Table Text Block]",
        "terseLabel": "Derivatives Not Designated as Hedging Instruments [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShortTermDebtTextBlock": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of short-term debt arrangements (having initial terms of repayment within one year or the normal operating cycle, if longer) including: (1) description of the short-term debt arrangement; (2) identification of the lender or type of lender; (3) repayment terms; (4) weighted average interest rate; (5) carrying amount of funds borrowed under the specified short-term debt arrangement as of the balance sheet date; (6) description of the refinancing of a short-term obligation when that obligation is excluded from current liabilities in the balance sheet; and (7) amount of a short-term obligation that has been excluded from current liabilities in the balance sheet because of a refinancing of the obligation.",
        "label": "Schedule of Short-term Debt [Table Text Block]",
        "terseLabel": "CO Discount Notes [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfShortTermDebtTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt and Equity Securities, FV-NI [Line Items]",
        "terseLabel": "Debt and Equity Securities, FV-NI [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security with change in fair value recognized in net income (FV-NI).",
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI [Table]",
        "terseLabel": "Schedule of Trading Securities and Other Trading Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock": {
     "auth_ref": [
      "r181"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For all investments in an unrealized loss position, including those for which other-than-temporary impairments have not been recognized in earnings (including investments for which a portion of an other-than-temporary impairment has been recognized in other comprehensive income), a tabular disclosure of the aggregate related fair value of investments with unrealized losses and the aggregate amount of unrealized losses (that is, the amount by which amortized cost basis exceeds fair value).",
        "label": "Schedule of Unrealized Loss on Investments [Table Text Block]",
        "verboseLabel": "HTM Securities in a Continuous Unrealized Loss Position [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuritiesPurchasedUnderAgreementsToResell": {
     "auth_ref": [
      "r27",
      "r30",
      "r35",
      "r91",
      "r417"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after the effects of master netting arrangements, of funds outstanding loaned in the form of a security resale agreement between the entity and another party for the purchase and resale of identical or substantially the same securities at a date certain for a specified price. Includes purchases of participations in pools of securities that are subject to a resale agreement, assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Securities Purchased under Agreements to Resell",
        "terseLabel": "Securities purchased under agreements to resell"
       }
      }
     },
     "localname": "SecuritiesPurchasedUnderAgreementsToResell",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition",
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "auth_ref": [
      "r90"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for segment reporting.",
        "label": "Segment Reporting, Policy [Policy Text Block]",
        "terseLabel": "Segment Reporting, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SharesIssued": {
     "auth_ref": [
      "r246"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury.",
        "label": "Shares, Issued",
        "periodEndLabel": "Period end, shares",
        "periodStartLabel": "Beginning of period, shares"
       }
      }
     },
     "localname": "SharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionChangesInRedemptionValuePolicyTextBlock": {
     "auth_ref": [
      "r90"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognition of changes in redemption value of mandatorily redeemable shares. Provides the period over which changes in redemption value are accreted, usually from the issuance date (or from the date that it becomes probable that the security will become redeemable, if later) to the earliest redemption date of the security.",
        "label": "Shares Subject to Mandatory Redemption, Changes in Redemption Value, Policy [Policy Text Block]",
        "terseLabel": "Shares Subject to Mandatory Redemption, Changes in Redemption Value, Policy"
       }
      }
     },
     "localname": "SharesSubjectToMandatoryRedemptionChangesInRedemptionValuePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount": {
     "auth_ref": [
      "r243"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails": {
       "order": 2.0,
       "parentTag": "fhlbbost_PermanentCapital",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount that would be paid, determined under the conditions specified in the contract, if the holder of the share has the right to redeem the shares.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Settlement Terms, Share Value, Amount",
        "negatedTerseLabel": "Mandatorily redeemable capital stock",
        "periodEndLabel": "Balance at end of year",
        "periodStartLabel": "Balance at beginning of year",
        "terseLabel": "Mandatorily redeemable capital stock",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockByMaturityDetails",
      "http://www.fhlbboston.com/role/CapitalMandatorilyRedeemableCapitalStockDetails",
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short-term Debt, Type [Axis]",
        "terseLabel": "Short-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r17"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short-term Debt, Type [Domain]",
        "terseLabel": "Short-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermDebtWeightedAverageInterestRate": {
     "auth_ref": [
      "r18"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of short-term debt outstanding calculated at point in time.",
        "label": "Short-term Debt, Weighted Average Interest Rate, at Point in Time",
        "terseLabel": "Weighted Average Rate"
       }
      }
     },
     "localname": "ShortTermDebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoDiscountNotesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShorttermDebtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents the amount of short-term debt existing as of the balance sheet date.",
        "label": "Short-term Debt, Fair Value",
        "negatedTerseLabel": "CO Discount notes"
       }
      }
     },
     "localname": "ShorttermDebtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StandbyLettersOfCreditMember": {
     "auth_ref": [
      "r231",
      "r236",
      "r304",
      "r475"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "An irrevocable undertaking (typically by a financial institution) to guarantee payment of a specified financial obligation.",
        "label": "Standby Letters of Credit [Member]",
        "terseLabel": "Standby Letters of Credit [Member]",
        "verboseLabel": "Standby letters of credit [Member]"
       }
      }
     },
     "localname": "StandbyLettersOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r7",
      "r8",
      "r9",
      "r246"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/CoverPage",
      "http://www.fhlbboston.com/role/StatementsOfCapital",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical",
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r23",
      "r246"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r8",
      "r9",
      "r246",
      "r251"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Proceeds from sale of capital stock, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r8",
      "r9",
      "r246",
      "r251"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Proceeds from sale of capital stock"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "auth_ref": [
      "r8",
      "r9",
      "r246",
      "r251"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "Stock Repurchased During Period, Shares",
        "negatedTerseLabel": "Repurchase of capital stock, shares"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "auth_ref": [
      "r8",
      "r9",
      "r246",
      "r251"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "Stock Repurchased During Period, Value",
        "negatedTerseLabel": "Repurchase of capital stock"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r9",
      "r13",
      "r14",
      "r144"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Period end",
        "periodStartLabel": "Beginning of period",
        "totalLabel": "Total capital"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "Capital"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "localname": "StockholdersEquityNoteAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r252"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders' Equity Note Disclosure [Text Block]",
        "terseLabel": "Capital [Text Block]"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/Capital"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]",
        "terseLabel": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event [Member]"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r400"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]",
        "terseLabel": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r400"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]",
        "terseLabel": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r400"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]",
        "terseLabel": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r401"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events [Text Block]"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental disclosures:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Plan designed to provide limited group of employees with supplemental retirement benefits, in addition to other pension benefits. Includes, but is not limited to, defined benefit and defined contribution plans.",
        "label": "Supplemental Employee Retirement Plan [Member]",
        "terseLabel": "Supplemental Employee Retirement Plan, Defined Benefit [Member]",
        "verboseLabel": "Supplemental Employee Retirement Plan, Defined Benefit [Member]"
       }
      }
     },
     "localname": "SupplementalEmployeeRetirementPlanDefinedBenefitMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansAmountsRecognizedInAccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansExpectedFutureBenefitPaymentsDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansKeyAssumptionsUsedForActuarialCalculationsDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNarrativesDetails",
      "http://www.fhlbboston.com/role/EmployeeRetirementPlansNonqualifiedSupplementalDefinedBenefitAndPostretirementBenefitsDetails",
      "http://www.fhlbboston.com/role/EmployeesRetirementPlansComponentsOfNetPeriodicBenefitCostAndOtherAmountsRecognizedInAoclDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TradingSecurities": {
     "auth_ref": [
      "r427"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI",
        "terseLabel": "Trading securities",
        "verboseLabel": "Trading securities"
       }
      }
     },
     "localname": "TradingSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI [Table Text Block]",
        "terseLabel": "Trading Securities by Major Security Type [Table Text Block]"
       }
      }
     },
     "localname": "TradingSecuritiesAndCertainTradingAssetsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/TradingSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TradingSecuritiesDebt": {
     "auth_ref": [
      "r154",
      "r155"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_MarketableSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in net income (trading).",
        "label": "Debt Securities, Trading",
        "terseLabel": "Trading securities"
       }
      }
     },
     "localname": "TradingSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Agreement between buyer and seller for the exchange of financial instruments.",
        "label": "Transaction [Domain]",
        "terseLabel": "Transaction [Domain]"
       }
      }
     },
     "localname": "TransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransactionTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of agreement between buyer and seller for the exchange of financial instruments.",
        "label": "Transaction Type [Axis]",
        "terseLabel": "Transaction Type [Axis]"
       }
      }
     },
     "localname": "TransactionTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesFairValueOfDerivativeInstrumentsWithOrWithoutLegalRightsOfOffsetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TransferToOtherRealEstate": {
     "auth_ref": [
      "r86",
      "r87",
      "r88"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Value transferred from mortgage loans to real estate owned (REO) in noncash transactions.",
        "label": "Real Estate Owned, Transfer to Real Estate Owned",
        "terseLabel": "Noncash transfers of mortgage loans held for portfolio to other assets"
       }
      }
     },
     "localname": "TransferToOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r409"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValuesCarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesRedemptionTermsDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentOttiCreditLossesRecognizedDuringLifeOfSecurityDetails",
      "http://www.fhlbboston.com/role/OtherThanTemporaryImpairmentSignificantInputsDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TypeOfAdoptionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Adoption and early adoption of sources of change to generally accepted accounting principles (GAAP) in the United States. The FASB released the FASB Accounting Standards Codification as the authoritative source of literature effective for interim and annual periods ending after September 15, 2009. As part of the Codification process, the FASB issues Accounting Standards Updates to amend the Codification but otherwise the Accounting Standards Updates are not authoritative in their own right. All previous accounting standards (such as FASB Statements of Financial Accounting Standards, FASB Interpretations, FASB Staff Positions, Emerging Issues Task Force Consensuses, other pronouncements of the FASB or other designated bodies, or other forms of GAAP are considered accounting pronouncements) were superseded upon the adoption of the Codification. For an interim period, references to the superseded standards are included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.",
        "label": "Type of Adoption [Domain]",
        "terseLabel": "Type of Adoption [Domain]"
       }
      }
     },
     "localname": "TypeOfAdoptionMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceLeasesDetails",
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USGovernmentAgenciesDebtSecuritiesMember": {
     "auth_ref": [
      "r269",
      "r418"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debentures, notes, and other debt securities issued by US government agencies, for example, but not limited to, Government National Mortgage Association (GNMA or Ginnie Mae). Excludes US treasury securities and debt issued by government-sponsored Enterprises (GSEs), for example, but is not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB).",
        "label": "US Government Agencies Debt Securities [Member]",
        "terseLabel": "U.S. agency obligations"
       }
      }
     },
     "localname": "USGovernmentAgenciesDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember": {
     "auth_ref": [
      "r428"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This category includes information about debt issued by US Government Corporations and Agencies. Investments in such US Government Corporations may include debt securities issued by the Government National Mortgage Association (Ginnie Mae) and by the Federal National Mortgage Association (Fannie Mae) and the Federal Home Loan Mortgage Corporation (Freddie Mac).",
        "label": "US Government Corporations and Agencies Securities [Member]",
        "terseLabel": "U.S. government-owned corporations [Member]"
       }
      }
     },
     "localname": "USGovernmentCorporationsAndAgenciesSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember": {
     "auth_ref": [
      "r269",
      "r418"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debentures, bonds and other debt securities issued by US government sponsored entities (GSEs), for example, but not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB). Excludes debt issued by the Government National Mortgage Association (GNMA or Ginnie Mae).",
        "label": "US Government-sponsored Enterprises Debt Securities [Member]",
        "terseLabel": "GSEs [Member]"
       }
      }
     },
     "localname": "USGovernmentSponsoredEnterprisesDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "auth_ref": [
      "r269",
      "r473"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments. Debt securities issued by state governments may include bond issuances of US state authorities including, for example, but not limited to, housing authorities, dormitory authorities, and general obligations while debt securities issued by political subdivisions of US states would include, for example, debt issuances by county, borough, city, or municipal governments.",
        "label": "US States and Political Subdivisions Debt Securities [Member]",
        "terseLabel": "HFA securities [Member]",
        "verboseLabel": "States or local housing-finance-agency obligations (HFA securities) [Member]"
       }
      }
     },
     "localname": "USStatesAndPoliticalSubdivisionsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesMajorSecurityTypesDetails",
      "http://www.fhlbboston.com/role/AvailableForSaleSecuritiesSecuritiesWithUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesFairValueAndUnrealizedLossesDetails",
      "http://www.fhlbboston.com/role/HeldToMaturitySecuritiesMajorSecurityTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USTreasurySecuritiesMember": {
     "auth_ref": [
      "r269",
      "r294",
      "r418"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This category includes information about debt securities issued by the United States Department of the Treasury and backed by the United States government. Such securities primarily consist of treasury bills (short-term maturities - one year or less), treasury notes (intermediate term maturities - two to ten years), and treasury bonds (long-term maturities - ten to thirty years).",
        "label": "US Treasury Securities [Member]",
        "terseLabel": "US Treasury Securities [Member]"
       }
      }
     },
     "localname": "USTreasurySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValuesFairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/TradingSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivatives": {
     "auth_ref": [
      "r79"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period.",
        "label": "Unrealized Gain (Loss) on Derivatives",
        "negatedLabel": "Change in net fair-value adjustments on derivatives and hedging activities"
       }
      }
     },
     "localname": "UnrealizedGainLossOnDerivatives",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UsGovernmentAgencyInsuredLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Guarantee by US government agencies, including but not limited to, Government National Mortgage Association (GNMA) and Department of Veterans Affairs (VA) for government insured loans.",
        "label": "US Government Agency Insured Loans [Member]",
        "terseLabel": "Recorded Investment in Government Mortgage Loans [Member]",
        "verboseLabel": "Government Mortgage Loans [Member]"
       }
      }
     },
     "localname": "UsGovernmentAgencyInsuredLoansMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesCreditQualityIndicatorsDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r105",
      "r106",
      "r107",
      "r108",
      "r111",
      "r112",
      "r113"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of Estimates, Policy"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_WeightedAverageInterestRateOnOverdrawnDemandDeposit": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate on overdrawn demand deposit.",
        "label": "Weighted Average Interest Rate on Overdrawn Demand Deposit",
        "terseLabel": "Overdrawn demand-deposit accounts, Weighted average rate"
       }
      }
     },
     "localname": "WeightedAverageInterestRateOnOverdrawnDemandDeposit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_WeightedAverageRateInterestBearingDomesticDepositsOverTime": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate calculated over time for domestic deposit liability.",
        "label": "Weighted Average Rate, Interest-bearing Domestic Deposits, over Time",
        "terseLabel": "Average interest rates paid on average deposits"
       }
      }
     },
     "localname": "WeightedAverageRateInterestBearingDomesticDepositsOverTime",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DepositsNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    }
   },
   "unitCount": 5
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=6359566&loc=d3e326-107755"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3)(i))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22583-107794"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "http://asc.fasb.org/topic&trid=2122394"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3)(ii))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "http://asc.fasb.org/topic&trid=2134479"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8933-108599"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4428-111522"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4437-111522"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e4975-111524"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5162-111524"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953550-111524"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5212-111524"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b,d)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5212-111524"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b,d,e)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5212-111524"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5033-111524"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5033-111524"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953659-111524"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5066-111524"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953676-111524"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL49126937-111524"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5074-111524"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5093-111524"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5111-111524"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5111-111524"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5111-111524"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953401-111524"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5144-111524"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.L.1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=27010918&loc=d3e74567-122707"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196772"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196816"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(ii)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118939070&loc=d3e15032-111544"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118939409&loc=d3e18845-111554"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "40",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196892"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "310",
   "URI": "http://asc.fasb.org/topic&trid=2196771"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118985780&loc=SL6284312-111560"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118954083&loc=d3e26610-111562"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118954083&loc=d3e26610-111562"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118954083&loc=d3e26853-111562"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118954083&loc=SL6284427-111562"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27405-111563"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27405-111563"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27476-111563"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=SL6283291-111563"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27198-111563"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(dd)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(3)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(4)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27337-111563"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27340-111563"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=SL6284393-111563"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=SL6284393-111563"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=SL6284393-111563"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=SL6284393-111563"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=SL6284393-111563"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=SL6284393-111563"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27357-111563"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27357-111563"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919244-210447"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919253-210447"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919258-210447"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919258-210447"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919258-210447"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919230-210447"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919230-210447"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955255&loc=SL82921830-210448"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955255&loc=SL82921833-210448"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955255&loc=SL82921835-210448"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955255&loc=SL82921842-210448"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955255&loc=SL82922352-210448"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955255&loc=SL82922355-210448"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118942338&loc=SL82898722-210454"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922888-210455"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922888-210455"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922888-210455"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922890-210455"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922895-210455"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922900-210455"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118942371&loc=SL82922954-210456"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "40",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=118172244&loc=d3e17916-109280"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "50",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=16397303&loc=d3e19379-109286"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "405",
   "URI": "http://asc.fasb.org/extlink&oid=84228828&loc=SL34748401-199205"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14326-108349"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14615-108349"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14394-108349"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14435-108349"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14453-108349"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14472-108349"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14557-108349"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12021-110248"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12021-110248"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12053-110248"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12069-110248"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12069-110248"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118956092&loc=d3e12803-110250"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=6802200&loc=SL6230698-112601"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=117329964&loc=d3e12317-112629"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=117329964&loc=d3e12355-112629"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=109262807&loc=d3e22047-110879"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=65888546&loc=d3e21332-112643"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=65888546&loc=d3e21346-112643"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21521-112644"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.8)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21538-112644"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "10",
   "Topic": "710",
   "URI": "http://asc.fasb.org/extlink&oid=6409875&loc=d3e20015-108363"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "712",
   "URI": "http://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "712",
   "URI": "http://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=109237824&loc=d3e1703-114919"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(10)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(30)(a)(3)(ii))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(6)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(b)(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(8)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=49176635&loc=d3e9760-107771"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(j)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(s)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2410-114920"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2417-114920"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2439-114920"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118257860&loc=d3e4179-114921"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=6414203&loc=d3e39716-114964"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450651-114947"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450691-114947"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "http://asc.fasb.org/topic&trid=2235017"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116873149&loc=d3e923-111674"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569643-111683"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116874947&loc=SL4591551-111686"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116874947&loc=SL4591552-111686"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=107671284&loc=SL5844817-113951"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=77984636&loc=d3e40733-113955"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=117331979&loc=d3e41228-113958"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5579240-113959"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5579245-113959"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5579245-113959"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5580258-113959"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)(ii)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41620-113959"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41620-113959"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41620-113959"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41638-113959"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5618551-113959"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5618551-113959"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4CC",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL109998890-113959"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624177-113959"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624177-113959"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624177-113959"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624177-113959"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225877-175312"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624181-113959"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4EE",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL109999712-113959"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4EE",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL109999712-113959"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4EE",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL109999712-113959"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624258-113959"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624258-113959"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624258-113959"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5708775-113959"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5708775-113959"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41641-113959"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41675-113959"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41678-113959"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41678-113959"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "182",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=116861445&loc=SL5629052-113961"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "15",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=118946261&loc=d3e48542-113965"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "15",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=56949186&loc=d3e50579-113967"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=118957181&loc=d3e75592-113984"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109977999&loc=d3e76258-113986"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109977999&loc=d3e76258-113986"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109978405&loc=d3e80720-113993"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226016-175313"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=112277219&loc=d3e80748-113994"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=112277219&loc=d3e80748-113994"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=112277219&loc=d3e80748-113994"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=SL7498348-110258"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19279-110258"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "60",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=116690757&loc=d3e13220-108610"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13279-108611"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13433-108611"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13467-108611"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13476-108611"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13531-108611"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13537-108611"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28541-108399"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226003-175313"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119364159&loc=SL77916155-209984"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918643-209977"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918666-209980"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888399&loc=SL77918982-209971"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "http://asc.fasb.org/topic&trid=2122774"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=SL51823488-111719"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117340910&loc=d3e59706-112781"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(3))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(6)(a)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(7)(d))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(3)(a))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.3)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.4)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.6(a)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7(d))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.4)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.6)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.8)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6477933&loc=d3e60009-112784"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6477933&loc=d3e60009-112784"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6477933&loc=d3e60009-112784"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62557-112803"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62586-112803"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62586-112803"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62586-112803"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62586-112803"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62586-112803"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "405",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116652737&loc=d3e64164-112818"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116652737&loc=d3e64164-112818"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(c)(1)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958570-112826"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i),(j),(k)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1G",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958577-112826"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(c)(2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=d3e65071-112826"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "942",
   "URI": "http://asc.fasb.org/topic&trid=2209208"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(23)(a)(4)(i))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4)(ii))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i-k)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=117420044&loc=d3e19393-158473"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=99380617&loc=SL75241803-196195"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=66023616&loc=SL35737432-115832"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(2)(i))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611133-123010"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611133-123010"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12C(1)(a))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611225-123010"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12C)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611225-123010"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611282-123010"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611282-123010"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611322-123010"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611379-123010"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 3))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29)",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=6590653&loc=d3e638233-123024"
  },
  "r488": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1-"
  },
  "r489": {
   "Name": "Forms 10-K, 20-F, 40-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "15",
   "Subsection": "d-1"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e637-108580"
  },
  "r490": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r491": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669686-108580"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e689-108580"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL6283339-108580"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL34724391-108580"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL34724394-108580"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1)(e))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868656-224227"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(25))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.3)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "220",
   "URI": "http://asc.fasb.org/topic&trid=2134417"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3151-108585"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3367-108585"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3444-108585"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3000-108585"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-108585"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "26",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3574-108585"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3044-108585"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3095-108585"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3098-108585"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4273-108586"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4297-108586"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4304-108586"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4313-108586"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4332-108586"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(2)(i))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(e),(f))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(h)(1)(i))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(n)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(n)(5),(6))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(n))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e24072-122690"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04.(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e24072-122690"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  }
 },
 "version": "2.1"
}
