{
 "instance": {
  "fhlbb10q3312020.htm": {
   "axisCustom": 4,
   "axisStandard": 32,
   "contextCount": 422,
   "dts": {
    "calculationLink": {
     "local": [
      "fhlbbost-20200331_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "fhlbbost-20200331_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": [
      "fhlbb10q3312020.htm"
     ]
    },
    "labelLink": {
     "local": [
      "fhlbbost-20200331_lab.xml"
     ],
     "remote": [
      "https://xbrl.sec.gov/dei/2019/dei-doc-2019-01-31.xml",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-doc-2019-01-31.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "fhlbbost-20200331_pre.xml"
     ]
    },
    "referenceLink": {
     "remote": [
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-ref-2019-01-31.xml",
      "https://xbrl.sec.gov/dei/2019/dei-ref-2019-01-31.xml"
     ]
    },
    "schema": {
     "local": [
      "fhlbbost-20200331.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": 746,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2019-01-31": 11,
    "http://www.fhlbboston.com/20200331": 7,
    "http://xbrl.sec.gov/dei/2019-01-31": 6,
    "total": 24
   },
   "keyCustom": 91,
   "keyStandard": 436,
   "memberCustom": 35,
   "memberStandard": 63,
   "nsprefix": "fhlbbost",
   "nsuri": "http://www.fhlbboston.com/20200331",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2110100 - Disclosure - Investments",
     "role": "http://www.fhlbboston.com/role/Investments",
     "shortName": "Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2118100 - Disclosure - Advances",
     "role": "http://www.fhlbboston.com/role/Advances",
     "shortName": "Advances",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2119100 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2123100 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2124100 - Disclosure - Deposits",
     "role": "http://www.fhlbboston.com/role/Deposits",
     "shortName": "Deposits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2125100 - Disclosure - Consolidated Obligations",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligations",
     "shortName": "Consolidated Obligations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AffordableHousingProgramTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2127100 - Disclosure - Affordable Housing Program",
     "role": "http://www.fhlbboston.com/role/AffordableHousingProgram",
     "shortName": "Affordable Housing Program",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AffordableHousingProgramTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2128100 - Disclosure - Capital",
     "role": "http://www.fhlbboston.com/role/Capital",
     "shortName": "Capital",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2129100 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2131100 - Disclosure - Fair Values",
     "role": "http://www.fhlbboston.com/role/FairValues",
     "shortName": "Fair Values",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2132100 - Disclosure - Commitments and Contingencies",
     "role": "http://www.fhlbboston.com/role/CommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:TransactionsWIthShareholdersTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2133100 - Disclosure - Transactions with Shareholders",
     "role": "http://www.fhlbboston.com/role/TransactionsWithShareholders",
     "shortName": "Transactions with Shareholders",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:TransactionsWIthShareholdersTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2135100 - Disclosure - Subsequent Events",
     "role": "http://www.fhlbboston.com/role/SubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CreditLossFinancialInstrumentPolicyTextBlock",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CreditLossFinancialInstrumentPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2310301 - Disclosure - Investments (Tables)",
     "role": "http://www.fhlbboston.com/role/InvestmentsTables",
     "shortName": "Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2318301 - Disclosure - Advances (Tables)",
     "role": "http://www.fhlbboston.com/role/AdvancesTables",
     "shortName": "Advances (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:MortgageLoansHeldForPortfolioTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2319301 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:MortgageLoansHeldForPortfolioTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2323301 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesTypeTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2324301 - Disclosure - Deposits (Tables)",
     "role": "http://www.fhlbboston.com/role/DepositsTables",
     "shortName": "Deposits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesTypeTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:HeldToMaturitySecuritiesTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesHeldToMaturityAllowanceForCreditLoss",
      "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": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2325301 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfActivityInAffordableHousingProgramObligationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2327301 - Disclosure - Affordable Housing Program (Tables)",
     "role": "http://www.fhlbboston.com/role/AffordableHousingProgramTables",
     "shortName": "Affordable Housing Program (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfActivityInAffordableHousingProgramObligationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2328301 - Disclosure - Capital (Tables)",
     "role": "http://www.fhlbboston.com/role/CapitalTables",
     "shortName": "Capital (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2329301 - Disclosure - Accumulated Other Comprehensive Loss (Tables)",
     "role": "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossTables",
     "shortName": "Accumulated Other Comprehensive Loss (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2331301 - Disclosure - Fair Values (Tables)",
     "role": "http://www.fhlbboston.com/role/FairValuesTables",
     "shortName": "Fair Values (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:OffBalanceSheetCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2332301 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:OffBalanceSheetCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:ScheduleofTransactionswithShareholdersTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2333301 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "fhlbbost:ScheduleofTransactionswithShareholdersTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NewAccountingPronouncementOrChangeInAccountingPrincipleCumulativeEffectOfChangeOnEquityOrNetAssets1",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409401 - Disclosure - Recently Issued and Adopted Accounting Guidance Financial Instruments - Credit Losses (Details)",
     "role": "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceFinancialInstrumentsCreditLossesDetails",
     "shortName": "Recently Issued and Adopted Accounting Guidance Financial Instruments - Credit Losses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TradingSecurities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410402 - Disclosure - Investments Trading Securities by Major Security Type (Details)",
     "role": "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails",
     "shortName": "Investments Trading Securities by Major Security Type (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_FinancialInstrumentAxis_fhlbbost_OtherThanMortgageBackedSecuritiesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:TradingSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410403 - Disclosure - Investments Available-for-Sale Securities by Major Security Type (Details)",
     "role": "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
     "shortName": "Investments Available-for-Sale Securities by Major Security Type (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestIncomeDepositsWithFinancialInstitutions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410404 - Disclosure - Investments Available-for-Sale Securities in a Continuous Unrealized Loss Position (Details)",
     "role": "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
     "shortName": "Investments Available-for-Sale Securities in a Continuous Unrealized Loss Position (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410405 - Disclosure - Investments Available-for-Sale Securities by Contractual Maturity (Details)",
     "role": "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails",
     "shortName": "Investments Available-for-Sale Securities by Contractual Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_FinancialInstrumentAxis_fhlbbost_OtherThanMortgageBackedSecuritiesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:HeldToMaturitySecuritiesTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410406 - Disclosure - Investments Held-to-Maturity Securities by Major Security Type (Details)",
     "role": "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
     "shortName": "Investments Held-to-Maturity Securities by Major Security Type (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:HeldToMaturitySecuritiesTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AccumulatedOtherComprehensiveIncomeLossOtherThanTemporaryImpairmentNotCreditLossNetOfTaxHeldtomaturityDebtSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:HeldToMaturitySecuritiesTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410407 - Disclosure - Investments Held-to-Maturity Securities by Contractual Maturity (Details)",
     "role": "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails",
     "shortName": "Investments Held-to-Maturity Securities by Contractual Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_FinancialInstrumentAxis_fhlbbost_OtherThanMortgageBackedSecuritiesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:RealizedGainLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfHeldToMaturitySecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410408 - Disclosure - Investments Proceeds from Sale and Gains and Losses on Held-to-Maturity Securities (Details)",
     "role": "http://www.fhlbboston.com/role/InvestmentsProceedsFromSaleAndGainsAndLossesOnHeldToMaturitySecuritiesDetails",
     "shortName": "Investments Proceeds from Sale and Gains and Losses on Held-to-Maturity Securities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:RealizedGainLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfHeldToMaturitySecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "fhlbbost:InterestBearingDepositsSecuritiesPurchasedUnderAgreementsToResellAndFederalFundsSoldPercentageRatedBelowTripleB",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410409 - Disclosure - Investments Narrative (Details)",
     "role": "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails",
     "shortName": "Investments Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "fhlbbost:InterestBearingDepositsSecuritiesPurchasedUnderAgreementsToResellAndFederalFundsSoldPercentageRatedBelowTripleB",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepositLiabilitiesReclassifiedAsLoansReceivable1",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418402 - 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",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesMaturitiesSummaryInNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepositLiabilitiesReclassifiedAsLoansReceivable1",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418403 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepositLiabilitiesReclassifiedAsLoansReceivable1",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418404 - Disclosure - Advances Outstanding by Year of Contractual Maturity or Next Put Date (Details)",
     "role": "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails",
     "shortName": "Advances Outstanding by Year 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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesFixedRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418405 - Disclosure - Advances by Current Interest Rate Terms (Details)",
     "role": "http://www.fhlbboston.com/role/AdvancesByCurrentInterestRateTermsDetails",
     "shortName": "Advances by Current Interest Rate Terms (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesFixedRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "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",
       "ix:continuation",
       "us-gaap:FederalHomeLoanBankAdvancesTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "fhlbbost:PrepaymentFeesOnFederalHomeLoanBankAdvancesReceived",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418406 - 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",
       "us-gaap:FederalHomeLoanBankAdvancesTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "fhlbbost:PrepaymentFeesOnFederalHomeLoanBankAdvancesReceived",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_srt_RangeAxis_srt_MinimumMember",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418407 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_srt_RangeAxis_srt_MinimumMember",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "fhlbbost:MortgageLoansHeldForPortfolioTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableBeforeFeesGross",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419402 - 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",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "lang": null,
      "name": "fhlbbost:LoansAndLeasesReceivableUnamortizedPremiums",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "fhlbbost:MortgageLoansHeldForPortfolioTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableBeforeFeesGross",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419403 - Disclosure - Mortgage Loans Held for Portfolio by Collateral/Guarantee Type (Details)",
     "role": "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioByCollateralGuaranteeTypeDetails",
     "shortName": "Mortgage Loans Held for Portfolio by Collateral/Guarantee Type (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "fhlbbost:MortgageLoansHeldForPortfolioTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_ConventionalLoanMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableBeforeFeesGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419404 - Disclosure - Credit Quality Indicator for Conventional Mortgage Loans (Details)",
     "role": "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails",
     "shortName": "Credit Quality Indicator for Conventional Mortgage Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_ConventionalLoanMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageLoansInProcessOfForeclosureAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419405 - Disclosure - Other Delinquency Statistics (Details)",
     "role": "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails",
     "shortName": "Other Delinquency Statistics (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageLoansInProcessOfForeclosureAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419406 - Disclosure - Allowance for Credit Losses on Conventional Mortgage Loans (Details)",
     "role": "http://www.fhlbboston.com/role/AllowanceForCreditLossesOnConventionalMortgageLoansDetails",
     "shortName": "Allowance for Credit Losses on Conventional Mortgage Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2019Q4_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_ConventionalLoanMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419407 - Disclosure - Mortgage Loans Held for Portfolio Narrative (Details)",
     "role": "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioNarrativeDetails",
     "shortName": "Mortgage Loans Held for Portfolio Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_us-gaap_UsGovernmentAgencyInsuredLoansMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2423402 - Disclosure - Derivatives in Statement of Condition (Details)",
     "role": "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails",
     "shortName": "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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestIncomeFederalHomeLoanBankAdvances",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2423403 - Disclosure - Derivatives in Statement of Income and Impact on Interest Income/Expense (Details)",
     "role": "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
     "shortName": "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD_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"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2019Q4",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD_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": "2423404 - Disclosure - Net Gains (Losses) on Cash Flow Hedging Relationships (Details)",
     "role": "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails",
     "shortName": "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD_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"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_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": "2423405 - Disclosure - Basis Adjustments for Fair Value Hedges (Details)",
     "role": "http://www.fhlbboston.com/role/BasisAdjustmentsForFairValueHedgesDetails",
     "shortName": "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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_BalanceSheetLocationAxis_fhlbbost_AdvancesMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HedgedAssetFairValueHedge",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2423406 - Disclosure - Derivatives in Statement of Income and Impact on Other Income/Loss (Details)",
     "role": "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
     "shortName": "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",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2019Q1YTD_us-gaap_IncomeStatementLocationAxis_us-gaap_GainLossOnDerivativeInstrumentsMember",
      "decimals": "-3",
      "lang": null,
      "name": "fhlbbost:DerivativeInstrumentsOtherGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsForProceedsFromHedgeFinancingActivities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2423407 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:GainLossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurringNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2423408 - Disclosure - Netting of Derivative Assets and Derivative Liabiities (Details)",
     "role": "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails",
     "shortName": "Netting of Derivative Assets and Derivative Liabiities (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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:DepositLiabilitiesTypeTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestBearingDomesticDepositDemand",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424402 - Disclosure - Deposits Narratives (Details)",
     "role": "http://www.fhlbboston.com/role/DepositsNarrativesDetails",
     "shortName": "Deposits Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:DepositLiabilitiesTypeTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestBearingDomesticDepositDemand",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425402 - Disclosure - Consolidated Obligations CO Bonds Outstanding by Contractual Maturity (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails",
     "shortName": "Consolidated Obligations CO Bonds Outstanding by Contractual Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "4",
      "lang": null,
      "name": "fhlbbost:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonthsWeightedAverageInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425403 - Disclosure - Consolidated Obligations CO Bonds Outstanding By Call Feature (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeatureDetails",
     "shortName": "Consolidated Obligations CO Bonds Outstanding By Call Feature (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_LongtermDebtTypeAxis_fhlbbost_FederalHomeLoanBankConsolidatedObligationsWithNoRelatedOptionMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425404 - Disclosure - Consolidated Obligations CO Bonds Outstanding by Contractual Maturity or Next Call Date (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails",
     "shortName": "Consolidated Obligations CO Bonds Outstanding by Contractual Maturity or Next Call Date (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_LongtermDebtTypeAxis_fhlbbost_EarlierOfContractualMaturityOrNextCallDateMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425405 - Disclosure - Consolidated Obligations CO Bonds by Interest Rate-Payment Type (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsByInterestRatePaymentTypeDetails",
     "shortName": "Consolidated Obligations CO Bonds by 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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_LongtermDebtTypeAxis_fhlbbost_FixedInterestRateMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankConsolidatedObligationsDiscountNotes",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425406 - Disclosure - Consolidated Obligations CO - Discount Notes Outstanding (Details)",
     "role": "http://www.fhlbboston.com/role/ConsolidatedObligationsCoDiscountNotesOutstandingDetails",
     "shortName": "Consolidated Obligations CO - Discount Notes Outstanding (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfActivityInAffordableHousingProgramObligationTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AffordableHousingProgramObligation",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427402 - 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",
       "ix:continuation",
       "us-gaap:ScheduleOfActivityInAffordableHousingProgramObligationTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AffordableHousingProgramAssessments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "fhlbbost:RegulatoryCapitalRatioRequired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2428402 - 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",
       "div",
       "div",
       "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "fhlbbost:RegulatoryCapitalRatioRequired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_fhlbbost_FhlbankProductsAxis_fhlbbost_CertainMemberAssetsEligibleToSecureAdvancesMember",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "fhlbbost:ClassBStockPurchaseRequirement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2428403 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_fhlbbost_FhlbankProductsAxis_fhlbbost_CertainMemberAssetsEligibleToSecureAdvancesMember",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "fhlbbost:ClassBStockPurchaseRequirement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429402 - 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",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2019Q4_us-gaap_StatementEquityComponentsAxis_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2431402 - Disclosure - Carrying Value and Fair Value of Financial Instruments (Details)",
     "role": "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
     "shortName": "Carrying Value and Fair Value of Financial Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TradingSecurities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2431403 - Disclosure - Fair Value of Assets and Liabilities Measured at Fair Value on a Recurring and Nonrecurring Basis (Details)",
     "role": "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
     "shortName": "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",
       "ix:continuation",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2019Q4_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,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2431404 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FI2019Q4_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,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherLiabilities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2432402 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "lang": "en-US",
      "name": "fhlbbost:MaximumTermOfCommitmentsToInvestInMortgageLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockOtherValueOutstanding",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2433402 - 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": "fhlbb10q3312020.htm",
      "contextRef": "FI2020Q1_fhlbbost_TransactionswithShareholdersMembersandNonmembersAxis_fhlbbost_CitizensBankN.A.Member",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CommonStockOtherValueOutstanding",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccounting",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2106100 - Disclosure - Basis of Presentation",
     "role": "http://www.fhlbboston.com/role/BasisOfPresentation",
     "shortName": "Basis of Presentation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccounting",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "I2020Q2DividendDeclared_us-gaap_StatementClassOfStockAxis_us-gaap_CommonClassBMember_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "fhlbbost:DividendsPerShareCashDeclaredAnnualizedRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2435401 - 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": "fhlbb10q3312020.htm",
      "contextRef": "I2020Q2DividendDeclared_us-gaap_StatementClassOfStockAxis_us-gaap_CommonClassBMember_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "fhlbbost:DividendsPerShareCashDeclaredAnnualizedRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "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": "fhlbb10q3312020.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 112,
   "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 [Abstract]"
       }
      }
     },
     "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_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_DocumentQuarterlyReport": {
     "auth_ref": [
      "r390"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r391"
     ],
     "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": [
      "r392"
     ],
     "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/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r392"
     ],
     "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": [
      "r392"
     ],
     "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": [
      "r393"
     ],
     "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_EntityRegistrantName": {
     "auth_ref": [
      "r392"
     ],
     "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": [
      "r392"
     ],
     "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": [
      "r392"
     ],
     "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": [
      "r392"
     ],
     "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"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CoverPage"
     ],
     "xbrltype": "employerIdItemType"
    },
    "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/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_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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsByInterestRatePaymentTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_AdvancesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Advances [Abstract]",
        "label": "Advances [Abstract]"
       }
      }
     },
     "localname": "AdvancesAbstract",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/BasisAdjustmentsForFairValueHedgesDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_AllowanceForCreditLossOnHeldToMaturitySecuritiesExcludingPrivateLabelMortgageBackedSecurities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Allowance For Credit Loss On Held To Maturity Securities Excluding Private Label Mortgage Backed Securities.",
        "label": "Allowance For Credit Loss On Held To Maturity Securities Excluding Private Label Mortgage Backed Securities",
        "verboseLabel": "Allowance for credit loss on any HTM securities excluding private-label MBS"
       }
      }
     },
     "localname": "AllowanceForCreditLossOnHeldToMaturitySecuritiesExcludingPrivateLabelMortgageBackedSecurities",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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 hedging relationships"
       }
      }
     },
     "localname": "AmortizationAccretionofDiscontinuedFairValueHedgingRelationships",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_AmortizedCostPercentageRatedSingleAOrAbove": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of private-label MBS securities amortized cost, rated single-A or above by a nationally recognized statistical rating organization.",
        "label": "Amortized Cost, Percentage Rated Single A Or Above",
        "terseLabel": "Private-label MBS based on amortized cost rated single-A or above"
       }
      }
     },
     "localname": "AmortizedCostPercentageRatedSingleAOrAbove",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_AvailableForSaleDebtSecuritiesAmortizedCostPercentageRatedSingleAOrAbove": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of available for sale debt securities amortized cost, excluding Private Label Mortgage Back Securities, with counterparties rated single-A or above by a nationally recognized statistical rating organization.",
        "label": "Available For Sale Debt Securities Amortized Cost Percentage Rated Single A Or Above",
        "terseLabel": "Available-for-sale securities rated single-A or above, excluding private-label MBS based on amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostPercentageRatedSingleAOrAbove",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "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/20200331",
     "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/20200331",
     "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 eligible to secure advances prior to January 16, 2019 [Member]"
       }
      }
     },
     "localname": "CertainMemberAssetsEligibleToSecureAdvancesPriortoJanuary162019Member",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "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/20200331",
     "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 percentage"
       }
      }
     },
     "localname": "ClassBStockPurchaseRequirement",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_ClassBStockPurchaseRequirementAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Class B stock purchase amount requirement to support outstanding activity between us and the member, less than $10 thousand and no more than $25.0 million",
        "label": "Class B Stock Purchase Requirement Amount",
        "terseLabel": "Class B stock purchase requirement amount"
       }
      }
     },
     "localname": "ClassBStockPurchaseRequirementAmount",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/BasisAdjustmentsForFairValueHedgesDetails",
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_CumulativeEffectPeriodOfAdoptionAdjustmentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Increase (decrease) to financial statements for cumulative-effect adjustment in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect Period Of Adoption Adjustment [Member]",
        "terseLabel": "Cumulative Effect Period Of Adoption Adjustment [Member]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustmentMember",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceFinancialInstrumentsCreditLossesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_CumulativeEffectPeriodOfAdoptionAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect Period Of Adoption [Axis]",
        "terseLabel": "Cumulative Effect Period Of Adoption [Axis]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAxis",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceFinancialInstrumentsCreditLossesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_CumulativeEffectPeriodOfAdoptionDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Domain] for Information by cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect Period Of Adoption [Domain]",
        "terseLabel": "Cumulative Effect Period Of Adoption [Domain]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionDomain",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceFinancialInstrumentsCreditLossesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of accrued interest 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 Accrued Interest After Allowance For Credit Loss",
        "terseLabel": "Available-for-sale securities - accrued interest receivable"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DebtSecuritiesHeldToMaturityAccruedInterestAfterAllowanceForCreditLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of accrued interest on investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities Held To Maturity Accrued Interest After Allowance For Credit Loss",
        "terseLabel": "Held-to-maturity securities - accrued interest receivable"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturityAccruedInterestAfterAllowanceForCreditLoss",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DeliveredVariationMarginToClearingMembers": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash outflow or inflow for financial contracts and derivatives that meets the hedge criteria as either cash flow hedge, fair value hedge or hedge of net investment in foreign operations.",
        "label": "Delivered Variation Margin To Clearing Members",
        "terseLabel": "Delivered variation margin to clearing members"
       }
      }
     },
     "localname": "DeliveredVariationMarginToClearingMembers",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_DerivativeInstrumentsOtherGainLoss": {
     "auth_ref": [],
     "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": "Price alignment interest",
        "verboseLabel": "Price alignment interest"
       }
      }
     },
     "localname": "DerivativeInstrumentsOtherGainLoss",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FederalFundsSoldMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Funds lent to other depository institutions, securities brokers, or securities dealers in the form of Federal Funds sold.",
        "label": "Federal Funds Sold [Member]",
        "terseLabel": "Federal Funds Sold [Member]"
       }
      }
     },
     "localname": "FederalFundsSoldMember",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_FederalHomeLoanBankAdvancesReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information about advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank Advances Receivable [Member]",
        "terseLabel": "Federal Home Loan Bank Advances Receivable [Member]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesReceivableMember",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeatureDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeatureDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_FederalHomeLoanBankMemberPercentOfTotalAdvancesInterestIncome": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents Federal Home Loan Bank member's interest income as a percentage of total advances interest income.",
        "label": "Federal Home Loan Bank Member, Percent Of Total Advances Interest Income",
        "terseLabel": "Percent of total advances interest income"
       }
      }
     },
     "localname": "FederalHomeLoanBankMemberPercentOfTotalAdvancesInterestIncome",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_FederalHomeLoanBankMemberPercentOfTotalFeesOnLettersOfCredit": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents Federal Home Loan Bank member's service fee income as a percentage of total service fee income.",
        "label": "Federal Home Loan Bank Member, Percent Of Total Fees On Letters Of Credit",
        "terseLabel": "Percent of total fees on letters of credit"
       }
      }
     },
     "localname": "FederalHomeLoanBankMemberPercentOfTotalFeesOnLettersOfCredit",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "fhlbbost_FinancialAssetAmortizedCostAccruedInterestAfterAllowanceForCreditLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of accrued interest on financial asset measured at amortized cost.",
        "label": "Financial Asset Amortized Cost Accrued Interest After Allowance For Credit Loss",
        "terseLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "FinancialAssetAmortizedCostAccruedInterestAfterAllowanceForCreditLoss",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FinancialReceivableOriginatedCurrentFiscalYearAndPreceedingFourPreceedingFiscalYears": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable originated in current fiscal year and preceeding four fiscal years.",
        "label": "Financial Receivable, Originated, Current Fiscal Year And Preceeding Four Preceeding Fiscal Years",
        "terseLabel": "Origination Year - 2016 to 2020"
       }
      }
     },
     "localname": "FinancialReceivableOriginatedCurrentFiscalYearAndPreceedingFourPreceedingFiscalYears",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of accrued interest on financing receivable.",
        "label": "Financing Receivable, Accrued Interest, After Allowance For Credit Loss",
        "terseLabel": "Advances - accrued interest receivable",
        "verboseLabel": "Mortgage loans held for portfolio - accrued interest receivable"
       }
      }
     },
     "localname": "FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsByInterestRatePaymentTypeDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "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 (losses) gains on derivatives and hedging activities recorded in net interest income"
       }
      }
     },
     "localname": "GainLossOnFairValueHedgesInNetInterestIncome",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/BasisAdjustmentsForFairValueHedgesDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/BasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_HeldToMaturityDebtSecuritiesExcludingPrivateLabelMortgageBackSecuritiesAmortizedCostPercentageRatedSingleAOrAbove": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of held-to-maturity debt securities amortized cost, excluding Private Label Mortgage Back Securities, with counterparties rated single-A or above by a nationally recognized statistical rating organization.",
        "label": "Held To Maturity Debt Securities Excluding Private Label Mortgage Back Securities Amortized Cost Percentage Rated Single A Or Above",
        "terseLabel": "Held-to-maturity securities rated single-A or above, excluding private-label MBS based on amortized cost"
       }
      }
     },
     "localname": "HeldToMaturityDebtSecuritiesExcludingPrivateLabelMortgageBackSecuritiesAmortizedCostPercentageRatedSingleAOrAbove",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "fhlbbost_InterestBearingDepositsAndFederalFundsSoldMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cash on deposit with financial institutions that earns interest, either at a fixed or market rate and Funds lent to other depository institutions, securities brokers, or securities dealers in the form of Federal Funds sold.",
        "label": "Interest Bearing Deposits And Federal Funds Sold [Member]",
        "terseLabel": "Interest Bearing Deposits And Federal Funds Sold [Member]"
       }
      }
     },
     "localname": "InterestBearingDepositsAndFederalFundsSoldMember",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_InterestBearingDepositsSecuritiesPurchasedUnderAgreementsToResellAndFederalFundsSoldPercentageRatedBelowTripleB": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of short-term investments in interest-bearing deposits, securities purchased under agreements to resell, and federal funds sold assets with counterparties rated below triple-B by a nationally recognized statistical rating organization.",
        "label": "InterestBearingDepositsSecuritiesPurchasedUnderAgreementsToResellAndFederalFundsSoldPercentageRatedBelowTripleB",
        "terseLabel": "Percentage of short-term investments in interest-bearing deposits, securities purchased under agreements to resell, and federal funds sold assets rated below triple-B"
       }
      }
     },
     "localname": "InterestBearingDepositsSecuritiesPurchasedUnderAgreementsToResellAndFederalFundsSoldPercentageRatedBelowTripleB",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "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 (losses) gains on qualifying fair-value hedging relationships"
       }
      }
     },
     "localname": "NetGainsLossesOnQualifyingActiveFairValueHedgingRelationships",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_OtherComprehensiveIncomeUnrealizedGainLossDuringPeriodBeforeTax": {
     "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": "Amount before tax and reclassification adjustments of increase (decrease) in accumulated unrealized gain (loss).",
        "label": "Other Comprehensive Income Unrealized Gain Loss During Period Before Tax",
        "terseLabel": "Net unrealized gains (losses)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedGainLossDuringPeriodBeforeTax",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "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 MBS [Member]"
       }
      }
     },
     "localname": "OtherThanMortgageBackedSecuritiesMember",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "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": "Period Loan Receivable Becomes Nonaccrual Status"
       }
      }
     },
     "localname": "PeriodLoanReceivableBecomesNonaccrualStatus",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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/20200331",
     "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 associated with prepaid advances"
       }
      }
     },
     "localname": "PrepaidFederalHomeLoanBanksAdvancesNetPremiums",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "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/20200331",
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeatureDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeatureDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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/20200331",
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "fhlbbost_SecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Funds 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.",
        "label": "Securities Borrowed Or Purchased Under Agreements To Resell [Member]",
        "terseLabel": "Securities Borrowed Or Purchased Under Agreements To Resell [Member]"
       }
      }
     },
     "localname": "SecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "fhlbbost_ServiceFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 1.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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsByInterestRatePaymentTypeDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholders"
     ],
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "fhlbbost_VariationMarginCashPayment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash outflow or inflow for a derivative that meets the hedge criteria as either cash flow hedge, fair value hedge or hedge of net investment in foreign operations, reported as an operating activity in the statements of cash flows.",
        "label": "Variation Margin Cash Payment",
        "terseLabel": "Variation margin cash payment reported as an operating activity in the statements of cash flows"
       }
      }
     },
     "localname": "VariationMarginCashPayment",
     "nsuri": "http://www.fhlbboston.com/20200331",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/CapitalNarrativesDetails",
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "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/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis": {
     "auth_ref": [
      "r388",
      "r389"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails",
      "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MultifamilyMember": {
     "auth_ref": [
      "r388",
      "r389"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Multifamily [Member]",
        "terseLabel": "GSE - multifamily [Member]"
       }
      }
     },
     "localname": "MultifamilyMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "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/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/TransactionsWithShareholdersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_SingleFamilyMember": {
     "auth_ref": [
      "r388",
      "r389"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Single Family [Member]",
        "terseLabel": "GSE - single-family [Member]"
       }
      }
     },
     "localname": "SingleFamilyMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AOCIAttributableToParentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "AOCI Attributable to Parent [Abstract]"
       }
      }
     },
     "localname": "AOCIAttributableToParentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "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_AccountingStandardsUpdate201613Member": {
     "auth_ref": [
      "r158"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accounting Standards Update 2016-13 Financial Instruments-Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments.",
        "label": "Accounting Standards Update 2016-13 [Member]",
        "terseLabel": "Accounting Standards Update 2016-13 [Member]"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201613Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesOnConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceFinancialInstrumentsCreditLossesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate201712Member": {
     "auth_ref": [
      "r275"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accounting Standards Update 2017-12 Derivatives and Hedging (Topic 815): Targeted Improvements to Accounting for Hedging Activities.",
        "label": "Accounting Standards Update 2017-12 [Member]",
        "terseLabel": "Accounting Standards Update 2017-12 [Member]"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201712Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis": {
     "auth_ref": [
      "r21"
     ],
     "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/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails",
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember": {
     "auth_ref": [
      "r42",
      "r46",
      "r50",
      "r226",
      "r234"
     ],
     "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": [
      "r37",
      "r46",
      "r50",
      "r233"
     ],
     "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": [
      "r38",
      "r39",
      "r41",
      "r46",
      "r50"
     ],
     "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_AccumulatedOtherComprehensiveIncomeLossOtherThanTemporaryImpairmentNotCreditLossNetOfTaxHeldtomaturityDebtSecurities": {
     "auth_ref": [
      "r46",
      "r129",
      "r144"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails"
     ],
     "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": [
      "r44",
      "r46",
      "r50",
      "r234"
     ],
     "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": [
      "r40",
      "r46",
      "r50",
      "r129",
      "r234"
     ],
     "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": [
      "r267"
     ],
     "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_AdjustmentsForChangeInAccountingPrincipleAxis": {
     "auth_ref": [
      "r95"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of change in accounting principle. Does not include error corrections.",
        "label": "Adjustments for Change in Accounting Principle [Axis]",
        "terseLabel": "Adjustments for Change in Accounting Principle [Axis]"
       }
      }
     },
     "localname": "AdjustmentsForChangeInAccountingPrincipleAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesOnConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceFinancialInstrumentsCreditLossesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r76"
     ],
     "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 period",
        "periodStartLabel": "Balance at beginning of period",
        "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": [
      "r369"
     ],
     "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": [
      "r106",
      "r165"
     ],
     "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": "Financing Receivable, Allowance for Credit Loss [Table Text Block]"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioTables"
     ],
     "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": "Allowance for Loan and Lease Losses [Roll Forward]"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesOnConventionalMortgageLoansDetails"
     ],
     "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"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesWriteoffsNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesOnConventionalMortgageLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r99",
      "r321",
      "r373"
     ],
     "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": [
      "r284"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r136"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails": {
       "order": 1.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": "Amounts Recorded in Accumulated Other Comprehensive Loss - Unrealized Gains"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [
      "r137"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails": {
       "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": "Amounts Recorded in Accumulated Other Comprehensive Loss - Unrealized Losses"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "auth_ref": [
      "r133",
      "r181"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails": {
       "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position [Line Items]",
        "terseLabel": "Debt Securities, Available-for-sale, Unrealized Loss Position [Line Items]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Available-for-sale Securities, Debt Maturities [Abstract]",
        "terseLabel": "Available-for-sale Securities, Debt Maturities [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails": {
       "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails": {
       "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails": {
       "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails": {
       "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost": {
     "auth_ref": [
      "r138"
     ],
     "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue": {
     "auth_ref": [
      "r138"
     ],
     "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r126",
      "r134",
      "r181"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "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",
        "totalLabel": "Fair Value",
        "verboseLabel": "Available-for-sale securities"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Available-for-sale, Fair Value to Amortized Cost [Abstract]",
        "terseLabel": "Debt Securities, Available-for-sale, Fair Value to Amortized Cost [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableforsaleSecuritiesMember": {
     "auth_ref": [
      "r155"
     ],
     "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]"
       }
      }
     },
     "localname": "AvailableforsaleSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails",
      "http://www.fhlbboston.com/role/BasisAdjustmentsForFairValueHedgesDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/BasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r246",
      "r250"
     ],
     "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/BasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfAccounting": {
     "auth_ref": [
      "r93"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for the basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting [Text Block]",
        "terseLabel": "Basis of Accounting [Text Block]"
       }
      }
     },
     "localname": "BasisOfAccounting",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/BasisOfPresentation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BasisOfPresentationAndSignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r93"
     ],
     "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_CapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Capital [Abstract]"
       }
      }
     },
     "localname": "CapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r301",
      "r302"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r319"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r70",
      "r77",
      "r84"
     ],
     "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 period",
        "periodStartLabel": "Cash and due from banks at beginning of the period"
       }
      }
     },
     "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": [
      "r70",
      "r303"
     ],
     "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 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": [
      "r280"
     ],
     "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": [
      "r242"
     ],
     "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/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A change from one generally accepted accounting principle to another generally accepted accounting principle when there are two or more generally accepted accounting principles that apply or when the accounting principle formerly used is no longer generally accepted. A change in the method of applying an accounting principle that is not treated as a change in accounting estimate also is considered a change in accounting principle.",
        "label": "Adjustments for Change in Accounting Principle [Domain]",
        "terseLabel": "Adjustments for Change in Accounting Principle [Domain]"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesOnConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceFinancialInstrumentsCreditLossesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1": {
     "auth_ref": [
      "r277"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1": {
     "auth_ref": [
      "r277"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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": [
      "r266"
     ],
     "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": [
      "r19",
      "r194",
      "r333",
      "r377"
     ],
     "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 14)"
       }
      }
     },
     "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": [
      "r193",
      "r201"
     ],
     "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": [
      "r4"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "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]",
        "verboseLabel": "Common Stock [Member]"
       }
      }
     },
     "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), 22,663 shares and 18,691 shares issued and outstanding at March 31, 2020 and December 31, 2019, 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": [
      "r7"
     ],
     "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": [
      "r7"
     ],
     "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": [
      "r7",
      "r217"
     ],
     "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_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 (loss) 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": [
      "r57"
     ],
     "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_ConventionalLoanMember": {
     "auth_ref": [
      "r387"
     ],
     "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 Loan [Member]"
       }
      }
     },
     "localname": "ConventionalLoanMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesOnConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioByCollateralGuaranteeTypeDetails",
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditLossFinancialInstrumentPolicyTextBlock": {
     "auth_ref": [
      "r161",
      "r166",
      "r171",
      "r172",
      "r187"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for credit loss on financial instrument measured at amortized cost basis, net investment in lease, off-balance sheet credit exposure, and available-for-sale debt security. Includes, but is not limited to, methodology used to estimate allowance for credit loss, how writeoff of uncollectible amount is recognized, and determination of past due status and nonaccrual status.",
        "label": "Credit Loss, Financial Instrument [Policy Text Block]",
        "terseLabel": "Credit Loss, Financial Instrument [Policy Text Block]"
       }
      }
     },
     "localname": "CreditLossFinancialInstrumentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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": [
      "r213"
     ],
     "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": [
      "r1",
      "r2",
      "r3",
      "r322",
      "r323",
      "r370"
     ],
     "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r3",
      "r210",
      "r323",
      "r370"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails": {
       "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/ConsolidatedObligationsCoBondsByInterestRatePaymentTypeDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeatureDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r306",
      "r308"
     ],
     "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/ConsolidatedObligationsCoDiscountNotesOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFairValue": {
     "auth_ref": [
      "r300"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "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/ConsolidatedObligationsCoBondsByInterestRatePaymentTypeDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r18"
     ],
     "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r18",
      "r87",
      "r218",
      "r219",
      "r220",
      "r221",
      "r305",
      "r306",
      "r308",
      "r363"
     ],
     "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/ConsolidatedObligationsCoBondsByInterestRatePaymentTypeDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r305",
      "r308"
     ],
     "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedPremium": {
     "auth_ref": [
      "r305",
      "r308"
     ],
     "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss": {
     "auth_ref": [
      "r135",
      "r181",
      "r188",
      "r189"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of allowance for credit loss 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, Allowance for Credit Loss",
        "terseLabel": "Debt Securities, Available-for-sale, Allowance for Credit Loss"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAllowanceForCreditLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "auth_ref": [
      "r153",
      "r186",
      "r191"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails": {
       "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",
        "terseLabel": "12 Months or More - Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r153",
      "r186"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails": {
       "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",
        "negatedTerseLabel": "12 Months or More - Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "auth_ref": [
      "r153",
      "r186",
      "r191"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails": {
       "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",
        "terseLabel": "Less than 12 Months - Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r153",
      "r186"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails": {
       "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",
        "negatedTerseLabel": "Less than 12 Months - Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleTable": {
     "auth_ref": [
      "r156"
     ],
     "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "auth_ref": [
      "r151",
      "r183",
      "r191"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails": {
       "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/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r152",
      "r184"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails": {
       "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/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTable": {
     "auth_ref": [
      "r182",
      "r191"
     ],
     "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), 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]",
        "terseLabel": "Debt Securities, Available-for-sale, Unrealized Loss Position, Fair Value [Table]"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock": {
     "auth_ref": [
      "r150",
      "r185",
      "r191"
     ],
     "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": "Debt Securities, Available-for-sale, Unrealized Loss Position, Fair Value [Table Text Block]"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss": {
     "auth_ref": [
      "r141",
      "r159",
      "r162",
      "r164"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of allowance for credit loss for debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Allowance for Credit Loss",
        "negatedTerseLabel": "Allowance for credit losses - held-to-maturity securities",
        "terseLabel": "Allowance for Credit Losses"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturityAllowanceForCreditLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesHeldToMaturitySoldAmount": {
     "auth_ref": [
      "r130"
     ],
     "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"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturitySoldAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsProceedsFromSaleAndGainsAndLossesOnHeldToMaturitySecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredGainLossOnDiscontinuationOfInterestRateFairValueHedge": {
     "auth_ref": [
      "r276"
     ],
     "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/BasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositLiabilitiesDisclosuresTextBlock": {
     "auth_ref": [
      "r330",
      "r362"
     ],
     "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": [
      "r361"
     ],
     "calculation": {
      "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
      },
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails": {
       "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/AdvancesOutstandingByYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails"
     ],
     "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": [
      "r330"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationAmortizationAndAccretionNet": {
     "auth_ref": [
      "r75"
     ],
     "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": [
      "r26",
      "r237"
     ],
     "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/DerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails": {
       "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/DerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset": {
     "auth_ref": [
      "r26",
      "r36",
      "r237"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails": {
       "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r28",
      "r34"
     ],
     "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/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r27",
      "r32",
      "r300"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails",
      "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/DerivativesAndHedgingActivitiesNarrativesDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r25",
      "r35",
      "r248",
      "r315"
     ],
     "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/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r29",
      "r33",
      "r272"
     ],
     "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/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r25",
      "r35",
      "r248",
      "r315"
     ],
     "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/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r29",
      "r33",
      "r272"
     ],
     "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/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r247",
      "r249",
      "r255",
      "r260"
     ],
     "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/DerivativesAndHedgingActivitiesNarrativesDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "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": [
      "r283"
     ],
     "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/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "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/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis": {
     "auth_ref": [
      "r244",
      "r247",
      "r255"
     ],
     "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/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable": {
     "auth_ref": [
      "r244",
      "r247",
      "r255",
      "r260",
      "r261",
      "r274",
      "r278"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet": {
     "auth_ref": [
      "r253",
      "r259"
     ],
     "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/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet": {
     "auth_ref": [
      "r254",
      "r256"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 5.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",
        "netLabel": "Net (losses) gains on derivatives not designated as hedging instruments",
        "terseLabel": "Total net (losses) gains related to derivatives not designated as hedging instruments",
        "verboseLabel": "Net (losses) gains on derivatives and hedging activities"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r27",
      "r32",
      "r300"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset": {
     "auth_ref": [
      "r26",
      "r237"
     ],
     "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/DerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset": {
     "auth_ref": [
      "r26",
      "r36",
      "r237"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": -1.0
      },
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails": {
       "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/DerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r28",
      "r34"
     ],
     "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/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "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/DerivativesAndHedgingActivitiesNarrativesDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeNetLiabilityPositionAggregateFairValue": {
     "auth_ref": [
      "r265"
     ],
     "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": [
      "r239",
      "r241"
     ],
     "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/DerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r89",
      "r238",
      "r240",
      "r241",
      "r244",
      "r245",
      "r251",
      "r255",
      "r270",
      "r273",
      "r278"
     ],
     "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/DerivativesAndHedgingActivitiesNarrativesDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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/BasisAdjustmentsForFairValueHedgesDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r85",
      "r90",
      "r238",
      "r240",
      "r244",
      "r245",
      "r271"
     ],
     "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 [Policy Text Block]"
       }
      }
     },
     "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": [
      "r244"
     ],
     "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/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r222"
     ],
     "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": [
      "r217"
     ],
     "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": [
      "r300"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExcessCapital": {
     "auth_ref": [
      "r365"
     ],
     "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/DerivativesAndHedgingActivitiesNarrativesDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExternalCreditRatingByGroupingAxis": {
     "auth_ref": [
      "r109",
      "r174",
      "r206",
      "r269"
     ],
     "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": [
      "r205",
      "r268"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r284",
      "r285",
      "r286",
      "r294"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock": {
     "auth_ref": [
      "r284",
      "r285",
      "r286",
      "r293",
      "r294"
     ],
     "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": [
      "r289"
     ],
     "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": [
      "r289",
      "r294"
     ],
     "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": [
      "r289",
      "r294"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r284",
      "r294"
     ],
     "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": [
      "r284",
      "r301",
      "r302"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r284",
      "r301"
     ],
     "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": [
      "r224",
      "r225",
      "r227",
      "r285",
      "r311"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r284",
      "r295"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r284",
      "r285",
      "r287",
      "r288",
      "r296"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "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": [
      "r292"
     ],
     "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": [
      "r224",
      "r225",
      "r227",
      "r285",
      "r312"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r224",
      "r225",
      "r227",
      "r285",
      "r313"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r224",
      "r225",
      "r227",
      "r285",
      "r314"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss": {
     "auth_ref": [
      "r290"
     ],
     "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 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_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r289"
     ],
     "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 period",
        "periodStartLabel": "Balance at beginning of period"
       }
      }
     },
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "auth_ref": [
      "r284",
      "r285",
      "r287",
      "r288",
      "r291",
      "r296"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r292",
      "r296"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r85",
      "r297",
      "r299"
     ],
     "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": [
      "r246",
      "r251",
      "r274"
     ],
     "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/BasisAdjustmentsForFairValueHedgesDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalFundsSold": {
     "auth_ref": [
      "r335"
     ],
     "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/AdvancesByCurrentInterestRateTermsDetails"
     ],
     "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/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails": {
       "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/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInNextRollingTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails": {
       "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/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails": {
       "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/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails": {
       "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/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails": {
       "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/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextPutOrConvertDateInRollingYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails": {
       "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/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails"
     ],
     "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/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesFixedRate": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesByCurrentInterestRateTermsDetails": {
       "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",
        "terseLabel": "Fixed-rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFixedRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesByCurrentInterestRateTermsDetails"
     ],
     "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/AdvancesByCurrentInterestRateTermsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesFloatingRate": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesByCurrentInterestRateTermsDetails": {
       "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",
        "terseLabel": "Variable-rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFloatingRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesByCurrentInterestRateTermsDetails"
     ],
     "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/AdvancesByCurrentInterestRateTermsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "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_FederalHomeLoanBankAdvancesParValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/AdvancesByCurrentInterestRateTermsDetails": {
       "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
      },
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails": {
       "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/AdvancesByCurrentInterestRateTermsDetails",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextCallDateDetails",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityOrNextPutDateDetails",
      "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",
      "http://www.fhlbboston.com/role/AdvancesOutstandingByYearOfContractualMaturityDetails"
     ],
     "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": [
      "r369"
     ],
     "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails",
      "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/ConsolidatedObligationsCoDiscountNotesOutstandingDetails",
      "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_FinanceLoanAndLeaseReceivablesHeldForInvestmentAllowanceAndNonperformingLoansPolicy": {
     "auth_ref": [
      "r85",
      "r103",
      "r113",
      "r118",
      "r329"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Describes an entity's accounting policy and methodology for estimating its allowance for loan and lease losses, and its accounting policy for nonperforming loans. The description identifies the factors that influenced management of the entity in establishing the level of the allowance (for example, historical losses and existing economic conditions) and also may include discussion of the risk elements relevant to particular categories of receivables. The disclosure also may describe any liability the entity has recorded for off-balance sheet credit losses and may include the basis for determining each element of the allowance for loan and lease losses. The disclosure also could discuss the entity's 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, Policy [Policy Text Block]",
        "terseLabel": "Finance, Loan and Lease Receivables, Held-for-investment, Allowance and Nonperforming Loans, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "FinanceLoanAndLeaseReceivablesHeldForInvestmentAllowanceAndNonperformingLoansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy": {
     "auth_ref": [
      "r102",
      "r103",
      "r107",
      "r108",
      "r113",
      "r122"
     ],
     "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": "Financing Receivable, Held-for-investment [Policy Text Block]"
       }
      }
     },
     "localname": "FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r161",
      "r165",
      "r166",
      "r170",
      "r174",
      "r185",
      "r187",
      "r190",
      "r191"
     ],
     "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/AdvancesOutstandingByYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentPerformanceStatusAxis": {
     "auth_ref": [
      "r174"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by category of performance or non-performance status of financial instruments.",
        "label": "Financial Instrument Performance Status [Axis]",
        "terseLabel": "Financial Instrument Performance Status [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentPerformanceStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentPerformanceStatusDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Category of performance or non-performance status of financial instruments, including but not limited to, financing receivables, loans, debt, and investments.",
        "label": "Financial Instrument Performance Status [Domain]",
        "terseLabel": "Financial Instrument Performance Status [Domain]"
       }
      }
     },
     "localname": "FinancialInstrumentPerformanceStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLosses": {
     "auth_ref": [
      "r104",
      "r159",
      "r162",
      "r164",
      "r328"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement.",
        "label": "Financing Receivable, Allowance for Credit Loss",
        "terseLabel": "Allowance for credit loss for interest-bearing deposits and federal funds"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLosses",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "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/AllowanceForCreditLossesOnConventionalMortgageLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableChangeInMethodCreditLossExpenseReversal": {
     "auth_ref": [
      "r160"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of credit loss expense (reversal of expense) for financing receivable from change in methodology.",
        "label": "Financing Receivable, Change in Method, Credit Loss Expense (Reversal)",
        "terseLabel": "Adjustment for cumulative effect of accounting change"
       }
      }
     },
     "localname": "FinancingReceivableChangeInMethodCreditLossExpenseReversal",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesOnConventionalMortgageLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "auth_ref": [
      "r109",
      "r174"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics.",
        "label": "Financing Receivable Credit Quality Indicators [Table Text Block]",
        "terseLabel": "Financing Receivable Credit Quality Indicators [Table Text Block]"
       }
      }
     },
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancingReceivableNonaccrualNoAllowance": {
     "auth_ref": [
      "r169"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable on nonaccrual status with no allowance for credit loss.",
        "label": "Financing Receivable, Nonaccrual, No Allowance",
        "terseLabel": "Conventional mortgage loans on non-accrual status with no allowance for credit losses"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualNoAllowance",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r175",
      "r179"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable originated five or more years prior to latest fiscal year.",
        "label": "Financing Receivable, Originated Five or More Years before Latest Fiscal Year",
        "terseLabel": "Origination Year - Prior to 2016"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r161",
      "r165",
      "r176"
     ],
     "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": [
      "r115",
      "r168",
      "r180"
     ],
     "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/OtherDelinquencyStatisticsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r110",
      "r116",
      "r117",
      "r166",
      "r170",
      "r174",
      "r177",
      "r178",
      "r179",
      "r180"
     ],
     "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/AllowanceForCreditLossesOnConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioByCollateralGuaranteeTypeDetails",
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "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/AllowanceForCreditLossesOnConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioByCollateralGuaranteeTypeDetails",
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentCurrent": {
     "auth_ref": [
      "r166",
      "r180"
     ],
     "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/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentLineItems": {
     "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, Credit Quality Indicator [Line Items]",
        "terseLabel": "Financing Receivable, Credit Quality Indicator [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [
      "r114",
      "r167"
     ],
     "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/OtherDelinquencyStatisticsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDue": {
     "auth_ref": [
      "r117",
      "r166",
      "r180"
     ],
     "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/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "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": "Financing Receivable, Past Due [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "auth_ref": [
      "r180"
     ],
     "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/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "auth_ref": [
      "r180"
     ],
     "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/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r180"
     ],
     "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/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r166",
      "r180"
     ],
     "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/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "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/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesTextBlock": {
     "auth_ref": [
      "r121",
      "r123"
     ],
     "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": [
      "r257"
     ],
     "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/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurringNet": {
     "auth_ref": [
      "r282"
     ],
     "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_GainsLossesOnExtinguishmentOfDebt": {
     "auth_ref": [
      "r75",
      "r211",
      "r212"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 4.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": [
      "r262"
     ],
     "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/BasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease": {
     "auth_ref": [
      "r263"
     ],
     "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/BasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease": {
     "auth_ref": [
      "r264"
     ],
     "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/BasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgedLiabilityFairValueHedge": {
     "auth_ref": [
      "r262"
     ],
     "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/BasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease": {
     "auth_ref": [
      "r263"
     ],
     "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/BasisAdjustmentsForFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgingDesignationAxis": {
     "auth_ref": [
      "r244",
      "r261"
     ],
     "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/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HedgingDesignationDomain": {
     "auth_ref": [
      "r244"
     ],
     "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/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HedgingRelationshipDomain": {
     "auth_ref": [
      "r244"
     ],
     "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/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HeldToMaturitySecurities": {
     "auth_ref": [
      "r126",
      "r139"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment",
       "weight": 1.0
      },
      "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, net of allowance for credit losses of $3,768 at March 31, 2020 -includes $92 pledged as collateral at December 31, 2019, 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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Held-to-maturity, Fair Value to Amortized Cost [Abstract]",
        "terseLabel": "Debt Securities, Held-to-maturity, Fair Value to Amortized Cost [Abstract]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain": {
     "auth_ref": [
      "r142"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails": {
       "order": 1.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/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss": {
     "auth_ref": [
      "r143"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails": {
       "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 Loss"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Held-to-maturity, Maturity [Abstract]",
        "terseLabel": "Debt Securities, Held-to-maturity, Maturity [Abstract]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount": {
     "auth_ref": [
      "r147",
      "r358"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount": {
     "auth_ref": [
      "r146",
      "r357"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount": {
     "auth_ref": [
      "r148",
      "r359"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesRollingAfterTenYearsFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount": {
     "auth_ref": [
      "r145",
      "r356"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesFairValue": {
     "auth_ref": [
      "r140"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      }
     },
     "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": "Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesTextBlock": {
     "auth_ref": [
      "r149"
     ],
     "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": "Debt Securities, Held-to-maturity [Table Text Block]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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 Cos"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesDebtMaturitiesRollingAfterTenYearsAmortizedCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails": {
       "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesMember": {
     "auth_ref": [
      "r155"
     ],
     "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/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesSalesExcludingOtherThanTemporaryImpairmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Held-to-maturity, Sale, Excluding Other-than-temporary Impairment [Abstract]",
        "terseLabel": "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/InvestmentsProceedsFromSaleAndGainsAndLossesOnHeldToMaturitySecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesSoldSecurityRealizedGainLossExcludingOtherThanTemporaryImpairments": {
     "auth_ref": [
      "r75",
      "r131"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 6.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": "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/InvestmentsProceedsFromSaleAndGainsAndLossesOnHeldToMaturitySecuritiesDetails",
      "http://www.fhlbboston.com/role/StatementsOfCashFlows",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r88"
     ],
     "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": [
      "r192"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 8.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": [
      "r78",
      "r354"
     ],
     "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": [
      "r70",
      "r73",
      "r353"
     ],
     "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": [
      "r74"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 10.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_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": [
      "r74"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 9.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": [
      "r74"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 11.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": [
      "r68",
      "r74"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 7.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/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r343"
     ],
     "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": [
      "r342"
     ],
     "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": [
      "r330"
     ],
     "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": [
      "r318",
      "r334"
     ],
     "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_InterestBearingDepositsMember": {
     "auth_ref": [
      "r318",
      "r324"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cash on deposit with financial institutions that earns interest, either at a fixed or market rate.",
        "label": "Interest-bearing Deposits [Member]",
        "terseLabel": "Interest-bearing Deposits [Member]"
       }
      }
     },
     "localname": "InterestBearingDepositsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestBearingDomesticDepositDemand": {
     "auth_ref": [
      "r330"
     ],
     "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": [
      "r330"
     ],
     "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": [
      "r54",
      "r98",
      "r304",
      "r307",
      "r352"
     ],
     "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": [
      "r351"
     ],
     "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"
       }
      }
     },
     "localname": "InterestExpenseCapitalSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDomesticDeposits": {
     "auth_ref": [
      "r349"
     ],
     "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_InterestExpenseMember": {
     "auth_ref": [
      "r259"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "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": [
      "r351"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 1.0,
       "parentTag": "fhlbbost_InterestExpenseOtherShorttermBorrowingsandOtherLongtermDebt",
       "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"
       }
      }
     },
     "localname": "InterestExpenseOtherLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseOtherShortTermBorrowings": {
     "auth_ref": [
      "r350"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "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": [
      "r348"
     ],
     "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": [
      "r345"
     ],
     "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 (REDUCTION OF) PROVISION FOR 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": [
      "r344"
     ],
     "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": [
      "r348"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations",
      "http://www.fhlbboston.com/role/TransactionsWithShareholdersDetails"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell": {
     "auth_ref": [
      "r348"
     ],
     "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": [
      "r67",
      "r71",
      "r80"
     ],
     "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": [
      "r331",
      "r378"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateCashFlowHedgeGainLossReclassifiedToEarningsNet": {
     "auth_ref": [
      "r253"
     ],
     "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/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateContractMember": {
     "auth_ref": [
      "r224",
      "r258"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnInterestIncomeExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestRateSwapMember": {
     "auth_ref": [
      "r258"
     ],
     "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/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r22"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "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_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r157"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Investment, Policy [Policy Text Block]"
       }
      }
     },
     "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": [
      "r382",
      "r383",
      "r384",
      "r385"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r382",
      "r383",
      "r384",
      "r385"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "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]"
       }
      }
     },
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]"
       }
      }
     },
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r156",
      "r317",
      "r360",
      "r386"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for  investments in certain debt and equity securities.",
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "terseLabel": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]"
       }
      }
     },
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/Investments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r55"
     ],
     "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_Liabilities": {
     "auth_ref": [
      "r17"
     ],
     "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": [
      "r13",
      "r325",
      "r376"
     ],
     "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": [
      "r284"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowance": {
     "auth_ref": [
      "r104",
      "r105",
      "r120",
      "r124",
      "r338"
     ],
     "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": "Less: allowance for credit losses",
        "periodEndLabel": "Balance, end of period",
        "periodStartLabel": "Balance, beginning of period",
        "terseLabel": "Allowance for credit losses - mortgage loans held for portfolio",
        "verboseLabel": "Allowance for credit losses - mortgage loans held for portfolio"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableAllowance",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesOnConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioNarrativeDetails",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableBeforeFeesGross": {
     "auth_ref": [
      "r101"
     ],
     "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": "Total par value",
        "verboseLabel": "Par Value"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableBeforeFeesGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioByCollateralGuaranteeTypeDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDisclosureLineItems": {
     "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": "Loans and Leases Receivable Disclosure [Line Items]",
        "terseLabel": "Loans and Leases Receivable Disclosure [Line Items]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDisclosureLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioByCollateralGuaranteeTypeDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDisclosureTable": {
     "auth_ref": [
      "r101"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about loans and leases receivable.",
        "label": "Loans and Leases Receivable Disclosure [Table]",
        "terseLabel": "Loans and Leases Receivable Disclosure [Table]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDisclosureTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioByCollateralGuaranteeTypeDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome": {
     "auth_ref": [
      "r101",
      "r112"
     ],
     "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",
        "verboseLabel": "Total"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetOfDeferredIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmount": {
     "auth_ref": [
      "r101",
      "r339"
     ],
     "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 $3,500 and $500 at March 31, 2020, and December 31, 2019",
        "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_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/MortgageLoansHeldForPortfolioByCollateralGuaranteeTypeDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioNarrativeDetails",
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "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/MortgageLoansHeldForPortfolioByCollateralGuaranteeTypeDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioNarrativeDetails",
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "auth_ref": [
      "r121"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails": {
       "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingAfterYearFive": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails": {
       "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFive": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails": {
       "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFour": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails": {
       "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails": {
       "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails": {
       "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r18"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsByInterestRatePaymentTypeDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeatureDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r18",
      "r209"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsByInterestRatePaymentTypeDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByCallFeatureDetails",
      "http://www.fhlbboston.com/role/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityOrNextCallDateDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "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/ConsolidatedObligationsCoBondsOutstandingByContractualMaturityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "auth_ref": [
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r203",
      "r204"
     ],
     "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": [
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r203",
      "r204"
     ],
     "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": [
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r203",
      "r204"
     ],
     "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_MarketableSecurities": {
     "auth_ref": [
      "r336"
     ],
     "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": [
      "r281"
     ],
     "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": [
      "r132",
      "r224"
     ],
     "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": "Private-label [Member]",
        "verboseLabel": "Mortgage-backed Securities, Issued by Private Enterprises [Member]"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember": {
     "auth_ref": [
      "r224"
     ],
     "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": "Government Sponsored Enterprises [Member]",
        "verboseLabel": "Government Sponsored Enterprises [Member]"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r132",
      "r224",
      "r225",
      "r227",
      "r380"
     ],
     "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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageLoansInProcessOfForeclosureAmount": {
     "auth_ref": [
      "r111"
     ],
     "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"
       }
      }
     },
     "localname": "MortgageLoansInProcessOfForeclosureAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "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/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails",
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgagesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A loan to finance the purchase of real estate where the lender has a lien on the property as collateral for the loan.",
        "label": "Mortgages [Member]",
        "terseLabel": "Mortgages [Member]"
       }
      }
     },
     "localname": "MortgagesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r70"
     ],
     "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 provided by (used in) 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": [
      "r70"
     ],
     "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 (used in) provided by 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": [
      "r70",
      "r72",
      "r76"
     ],
     "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 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": 3.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "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"
       }
      }
     },
     "localname": "NetRealizedOrUnrealizedGainLossOnTradingSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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, value"
       }
      }
     },
     "localname": "NetSharesReclassifiedToMandatorilyRedeemableCapitalStockValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCapital"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementOrChangeInAccountingPrincipleCumulativeEffectOfChangeOnEquityOrNetAssets1": {
     "auth_ref": [
      "r94",
      "r96"
     ],
     "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",
        "terseLabel": "Increase in the allowance for credit losses as a cumulative-effect adjustment to retained earnings upon adoption of ASU 2016-13",
        "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/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/RecentlyIssuedAndAdoptedAccountingGuidanceFinancialInstrumentsCreditLossesDetails",
      "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": [
      "r97"
     ],
     "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/RecentlyIssuedAndAdoptedAccountingGuidanceFinancialInstrumentsCreditLossesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable": {
     "auth_ref": [
      "r95",
      "r96"
     ],
     "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/RecentlyIssuedAndAdoptedAccountingGuidanceFinancialInstrumentsCreditLossesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NondesignatedMember": {
     "auth_ref": [
      "r244"
     ],
     "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/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoninterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r330"
     ],
     "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": [
      "r347"
     ],
     "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": [
      "r346"
     ],
     "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 (loss)"
       }
      }
     },
     "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": [
      "r53",
      "r341",
      "r379"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfOperations": {
       "order": 2.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_NonperformingFinancingReceivableMember": {
     "auth_ref": [
      "r109",
      "r174"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Category status of financial instruments in which payments are past due in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt, and investments.",
        "label": "Nonperforming Financial Instruments [Member]",
        "terseLabel": "Nonperforming Financial Instruments [Member]"
       }
      }
     },
     "localname": "NonperformingFinancingReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotDesignatedAsHedgingInstrumentEconomicHedgeMember": {
     "auth_ref": [
      "r243"
     ],
     "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/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesReceivableGross": {
     "auth_ref": [
      "r173"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of financing receivable.",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "terseLabel": "Total mortgage loans"
       }
      }
     },
     "localname": "NotesReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock": {
     "auth_ref": [
      "r118",
      "r172"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Description of accounting policies and methodologies used to estimate the entity's liability for off-balance sheet credit exposures and related charges for those credit exposures.",
        "label": "Off-Balance-Sheet Credit Exposure, Policy [Policy Text Block]",
        "terseLabel": "Off-Balance-Sheet Credit Exposure, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "OffBalanceSheetCreditExposurePolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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": [
      "r30",
      "r31"
     ],
     "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": [
      "r30",
      "r31"
     ],
     "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_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": [
      "r0",
      "r320",
      "r372"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent": {
     "auth_ref": [
      "r229",
      "r230",
      "r233"
     ],
     "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 (losses) gains 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": [
      "r229",
      "r230",
      "r233"
     ],
     "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",
        "verboseLabel": "Pension and postretirement benefits"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent",
     "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/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "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/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent": {
     "auth_ref": [
      "r229",
      "r230",
      "r233"
     ],
     "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 (loss) 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": [
      "r45"
     ],
     "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 gains (losses) 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": [
      "r45",
      "r47",
      "r253"
     ],
     "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": [
      "r43",
      "r45"
     ],
     "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 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"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax": {
     "auth_ref": [
      "r45",
      "r47",
      "r49"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/AccumulatedOtherComprehensiveLossDetails": {
       "order": 8.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": [
      "r259"
     ],
     "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/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r37",
      "r45",
      "r279"
     ],
     "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": "Gains (losses) recognized in other comprehensive income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/NetGainsLossesOnCashFlowHedgingRelationshipsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveLossHeldToMaturitySecurityAdjustmentFromAociForAccretionOfNoncreditPortionOfOttiBeforeTax": {
     "auth_ref": [
      "r46",
      "r125"
     ],
     "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": [
      "r40",
      "r48",
      "r125",
      "r230",
      "r233"
     ],
     "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": [
      "r56"
     ],
     "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_OtherInterestAndDividendIncome": {
     "auth_ref": [
      "r348"
     ],
     "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": [
      "r332"
     ],
     "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": [
      "r76"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 5.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": [
      "r347"
     ],
     "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_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain": {
     "auth_ref": [
      "r154"
     ],
     "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/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentHeldtomaturitySecurities": {
     "auth_ref": [
      "r40",
      "r45",
      "r46",
      "r230",
      "r233"
     ],
     "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": [],
     "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",
        "verboseLabel": "Net credit losses recognized under previous accounting metodology"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeHeldtomaturitySecuritiesBeforeTax": {
     "auth_ref": [
      "r46",
      "r48",
      "r49",
      "r129"
     ],
     "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/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r116",
      "r117",
      "r166",
      "r180"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table Text Block]",
        "terseLabel": "Financing Receivable, Past Due [Table Text Block]"
       }
      }
     },
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioTables"
     ],
     "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_PaymentsForFederalHomeLoanBankAdvances": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 9.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": [
      "r91"
     ],
     "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",
        "terseLabel": "Variation margin cash payment reported as a finacing activity in the statements of cash flows"
       }
      }
     },
     "localname": "PaymentsForProceedsFromHedgeFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/DerivativesAndHedgingActivitiesNarrativesDetails",
      "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": [
      "r60",
      "r62",
      "r91"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 12.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": [
      "r65"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 8.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": [
      "r65"
     ],
     "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": [
      "r65"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 10.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_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": [
      "r61"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 11.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": [
      "r62"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 5.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_PerformingFinancingReceivableMember": {
     "auth_ref": [
      "r109",
      "r174"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Category status of financial instruments in which payments are received or paid on a timely basis in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt instruments, and investments.",
        "label": "Performing Financial Instruments [Member]",
        "terseLabel": "Performing Financial Instruments [Member]"
       }
      }
     },
     "localname": "PerformingFinancingReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r298"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "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"
       }
      }
     },
     "localname": "PrepaymentFeesOnAdvancesNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AdvancesAdvancesPrepaymentFeesDetails",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromFederalHomeLoanBankAdvances": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 8.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": [
      "r63"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 7.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": [
      "r64"
     ],
     "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": [
      "r64"
     ],
     "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": [
      "r79",
      "r355"
     ],
     "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": [
      "r78",
      "r79"
     ],
     "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": [
      "r59"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 10.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": [
      "r58",
      "r59",
      "r128"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 6.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": [
      "r59",
      "r128"
     ],
     "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 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": 4.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": [
      "r59",
      "r128"
     ],
     "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/InvestmentsProceedsFromSaleAndGainsAndLossesOnHeldToMaturitySecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r51",
      "r52",
      "r69",
      "r99",
      "r100",
      "r229",
      "r231",
      "r232",
      "r235",
      "r236"
     ],
     "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_ProvisionForLoanLossesExpensed": {
     "auth_ref": [
      "r163",
      "r328",
      "r340"
     ],
     "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": "(Reduction of ) provision for credit losses",
        "verboseLabel": "Provision for credit losses"
       }
      }
     },
     "localname": "ProvisionForLoanLossesExpensed",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/AllowanceForCreditLossesOnConventionalMortgageLoansDetails",
      "http://www.fhlbboston.com/role/StatementsOfCashFlows",
      "http://www.fhlbboston.com/role/StatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForOtherCreditLosses": {
     "auth_ref": [
      "r74",
      "r340"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense related to credit loss from transactions other than loan and lease transactions.",
        "label": "Provision for Other Credit Losses",
        "terseLabel": "Net decrease in allowance for credit losses"
       }
      }
     },
     "localname": "ProvisionForOtherCreditLosses",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Loan to finance the purchase of real estate, including but not limited to, land or building.",
        "label": "Real Estate Loan [Member]",
        "terseLabel": "Real Estate Loan [Member]"
       }
      }
     },
     "localname": "RealEstateLoanMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioDetails",
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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": "Realized Gain (Loss) on Investments [Table Text Block]"
       }
      }
     },
     "localname": "RealizedGainLossOnInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ReceivableTypeDomain": {
     "auth_ref": [
      "r21"
     ],
     "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/DerivativesInStatementOfConditionDetails",
      "http://www.fhlbboston.com/role/DerivativesInStatementOfIncomeAndImpactOnOtherIncomeLossDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails",
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "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_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": [
      "r65"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/StatementsOfCashFlows": {
       "order": 9.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",
        "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/StatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfOtherLongTermDebt": {
     "auth_ref": [
      "r66"
     ],
     "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": [
      "r66"
     ],
     "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": [
      "r132",
      "r224"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r10",
      "r222",
      "r375"
     ],
     "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": [
      "r23",
      "r215",
      "r216",
      "r371"
     ],
     "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"
       }
      }
     },
     "localname": "RetainedEarningsAppropriated",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsAppropriatedMember": {
     "auth_ref": [
      "r8",
      "r215"
     ],
     "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": [
      "r9",
      "r374"
     ],
     "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": [
      "r9"
     ],
     "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_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r46"
     ],
     "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_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/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails"
     ],
     "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": "Schedule of Available-for-sale Securities Reconciliation [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock": {
     "auth_ref": [
      "r364",
      "r366",
      "r367",
      "r368"
     ],
     "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": [
      "r18",
      "r87",
      "r218",
      "r219",
      "r220",
      "r221",
      "r305",
      "r306",
      "r308",
      "r363"
     ],
     "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_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "auth_ref": [
      "r247",
      "r255",
      "r261"
     ],
     "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": [
      "r251"
     ],
     "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_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r252"
     ],
     "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": [
      "r165"
     ],
     "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/AllowanceForCreditLossesOnConventionalMortgageLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable": {
     "auth_ref": [
      "r174",
      "r179"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about credit quality indicator for financing receivable.",
        "label": "Financing Receivable, Credit Quality Indicator [Table]",
        "terseLabel": "Financing Receivable, Credit Quality Indicator [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CreditQualityIndicatorForConventionalMortgageLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesPastDueTable": {
     "auth_ref": [
      "r166",
      "r180"
     ],
     "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/OtherDelinquencyStatisticsDetails"
     ],
     "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfHeldToMaturitySecuritiesTable": {
     "auth_ref": [
      "r149"
     ],
     "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/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r208"
     ],
     "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_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r254",
      "r256"
     ],
     "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": [
      "r16"
     ],
     "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/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "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": "Debt Securities, Trading, and Equity Securities, FV-NI [Table]"
       }
      }
     },
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SecuritiesPurchasedUnderAgreementsToResell": {
     "auth_ref": [
      "r24",
      "r27",
      "r32",
      "r86",
      "r326"
     ],
     "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"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesPurchasedUnderAgreementsToResellAllowanceForCreditLoss": {
     "auth_ref": [
      "r159",
      "r162",
      "r164"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of allowance for credit loss on security purchased under agreement to resell.",
        "label": "Securities Purchased under Agreements to Resell, Allowance for Credit Loss",
        "terseLabel": "Allowance for credit losses for securities purchased under agreements to resell"
       }
      }
     },
     "localname": "SecuritiesPurchasedUnderAgreementsToResellAllowanceForCreditLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharesIssued": {
     "auth_ref": [
      "r217"
     ],
     "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_SharesSubjectToMandatoryRedemptionSettlementTermsAmount": {
     "auth_ref": [
      "r214"
     ],
     "calculation": {
      "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",
        "terseLabel": "Mandatorily redeemable capital stock"
       }
      }
     },
     "localname": "SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CapitalRequirementsDetails",
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/StatementsOfCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r16"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r14"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermDebtWeightedAverageInterestRate": {
     "auth_ref": [
      "r15"
     ],
     "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/ConsolidatedObligationsCoDiscountNotesOutstandingDetails"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StandbyLettersOfCreditMember": {
     "auth_ref": [
      "r202",
      "r207",
      "r228",
      "r381"
     ],
     "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/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r5",
      "r6",
      "r7",
      "r217"
     ],
     "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": [
      "r20",
      "r217"
     ],
     "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/InvestmentsNarrativeDetails",
      "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/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/StatementsOfCapital",
      "http://www.fhlbboston.com/role/StatementsOfConditionParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r6",
      "r7",
      "r217",
      "r222"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Proceeds from issuance 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": [
      "r6",
      "r7",
      "r217",
      "r222"
     ],
     "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 issuance 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": [
      "r6",
      "r7",
      "r217",
      "r222"
     ],
     "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": [
      "r6",
      "r7",
      "r217",
      "r222"
     ],
     "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": [
      "r7",
      "r11",
      "r12",
      "r119"
     ],
     "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_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r223"
     ],
     "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": [
      "r309"
     ],
     "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": [
      "r309"
     ],
     "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": [
      "r309"
     ],
     "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": [
      "r310"
     ],
     "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_TradingSecurities": {
     "auth_ref": [
      "r336"
     ],
     "calculation": {
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails": {
       "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": "Total trading securities"
       }
      }
     },
     "localname": "TradingSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "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": "Debt Securities, Trading, and Equity Securities, FV-NI [Table Text Block]"
       }
      }
     },
     "localname": "TradingSecuritiesAndCertainTradingAssetsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TradingSecuritiesDebt": {
     "auth_ref": [
      "r126",
      "r127"
     ],
     "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/DerivativesAndHedgingActivitiesNarrativesDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "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/DerivativesAndHedgingActivitiesNarrativesDetails",
      "http://www.fhlbboston.com/role/NettingOfDerivativeAssetsAndDerivativeLiabiitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TransferToOtherRealEstate": {
     "auth_ref": [
      "r81",
      "r82",
      "r83"
     ],
     "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": [
      "r316"
     ],
     "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/AdvancesOutstandingByYearOfContractualMaturityDetails",
      "http://www.fhlbboston.com/role/CarryingValueAndFairValueOfFinancialInstrumentsDetails",
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByContractualMaturityDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsNarrativeDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember": {
     "auth_ref": [
      "r337"
     ],
     "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/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember": {
     "auth_ref": [
      "r224",
      "r327"
     ],
     "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": "GSE [Member]"
       }
      }
     },
     "localname": "USGovernmentSponsoredEnterprisesDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "auth_ref": [
      "r224",
      "r380"
     ],
     "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": "State housing-finance-agency obligations (HFA securities) [Member]",
        "verboseLabel": "HFA securities [Member]"
       }
      }
     },
     "localname": "USStatesAndPoliticalSubdivisionsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/EstimatedFairValueLevel3ReconciliationRollForwardDetails",
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesByMajorSecurityTypeDetails",
      "http://www.fhlbboston.com/role/InvestmentsAvailableForSaleSecuritiesInContinuousUnrealizedLossPositionDetails",
      "http://www.fhlbboston.com/role/InvestmentsHeldToMaturitySecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USTreasurySecuritiesMember": {
     "auth_ref": [
      "r224",
      "r227",
      "r327"
     ],
     "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 obligations [Member]"
       }
      }
     },
     "localname": "USTreasurySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/FairValueOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.fhlbboston.com/role/InvestmentsTradingSecuritiesByMajorSecurityTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivatives": {
     "auth_ref": [
      "r75"
     ],
     "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": "Net change in 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": "US Government Agency Insured Loans [Member]"
       }
      }
     },
     "localname": "UsGovernmentAgencyInsuredLoansMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioByCollateralGuaranteeTypeDetails",
      "http://www.fhlbboston.com/role/MortgageLoansHeldForPortfolioNarrativeDetails",
      "http://www.fhlbboston.com/role/OtherDelinquencyStatisticsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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"
    }
   },
   "unitCount": 4
  }
 },
 "std_ref": {
  "r0": {
   "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"
  },
  "r1": {
   "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"
  },
  "r10": {
   "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"
  },
  "r100": {
   "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"
  },
  "r101": {
   "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"
  },
  "r102": {
   "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"
  },
  "r103": {
   "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"
  },
  "r104": {
   "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"
  },
  "r105": {
   "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"
  },
  "r106": {
   "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"
  },
  "r107": {
   "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"
  },
  "r108": {
   "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"
  },
  "r109": {
   "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"
  },
  "r11": {
   "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"
  },
  "r110": {
   "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"
  },
  "r111": {
   "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"
  },
  "r112": {
   "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"
  },
  "r113": {
   "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"
  },
  "r114": {
   "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"
  },
  "r115": {
   "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"
  },
  "r116": {
   "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"
  },
  "r117": {
   "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"
  },
  "r118": {
   "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"
  },
  "r119": {
   "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"
  },
  "r12": {
   "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"
  },
  "r120": {
   "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"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196772"
  },
  "r122": {
   "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"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196816"
  },
  "r124": {
   "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"
  },
  "r125": {
   "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"
  },
  "r126": {
   "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"
  },
  "r127": {
   "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"
  },
  "r128": {
   "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"
  },
  "r129": {
   "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"
  },
  "r13": {
   "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"
  },
  "r130": {
   "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"
  },
  "r131": {
   "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"
  },
  "r132": {
   "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"
  },
  "r133": {
   "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"
  },
  "r134": {
   "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"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r136": {
   "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"
  },
  "r137": {
   "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"
  },
  "r138": {
   "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"
  },
  "r139": {
   "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"
  },
  "r14": {
   "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"
  },
  "r140": {
   "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"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r142": {
   "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"
  },
  "r143": {
   "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"
  },
  "r144": {
   "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"
  },
  "r145": {
   "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"
  },
  "r146": {
   "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"
  },
  "r147": {
   "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"
  },
  "r148": {
   "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"
  },
  "r149": {
   "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"
  },
  "r15": {
   "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"
  },
  "r150": {
   "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"
  },
  "r151": {
   "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"
  },
  "r152": {
   "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"
  },
  "r153": {
   "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"
  },
  "r154": {
   "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"
  },
  "r155": {
   "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"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r157": {
   "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"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118950378&loc=SL82887624-210437"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955202&loc=SL82895884-210446"
  },
  "r16": {
   "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"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919244-210447"
  },
  "r161": {
   "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"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
  },
  "r163": {
   "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"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
  },
  "r165": {
   "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"
  },
  "r166": {
   "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"
  },
  "r167": {
   "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"
  },
  "r168": {
   "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"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919258-210447"
  },
  "r17": {
   "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"
  },
  "r170": {
   "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"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919260-210447"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919272-210447"
  },
  "r173": {
   "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"
  },
  "r174": {
   "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"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919232-210447"
  },
  "r176": {
   "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"
  },
  "r177": {
   "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"
  },
  "r178": {
   "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"
  },
  "r179": {
   "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"
  },
  "r18": {
   "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"
  },
  "r180": {
   "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"
  },
  "r181": {
   "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"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922888-210455"
  },
  "r183": {
   "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"
  },
  "r184": {
   "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"
  },
  "r185": {
   "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"
  },
  "r186": {
   "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"
  },
  "r187": {
   "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"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922900-210455"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(i)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922900-210455"
  },
  "r19": {
   "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"
  },
  "r190": {
   "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"
  },
  "r191": {
   "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"
  },
  "r192": {
   "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"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r194": {
   "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"
  },
  "r195": {
   "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"
  },
  "r196": {
   "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"
  },
  "r197": {
   "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"
  },
  "r198": {
   "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"
  },
  "r199": {
   "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"
  },
  "r2": {
   "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"
  },
  "r20": {
   "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"
  },
  "r200": {
   "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"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r202": {
   "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"
  },
  "r203": {
   "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"
  },
  "r204": {
   "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"
  },
  "r205": {
   "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"
  },
  "r206": {
   "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"
  },
  "r207": {
   "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"
  },
  "r208": {
   "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"
  },
  "r209": {
   "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"
  },
  "r21": {
   "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"
  },
  "r210": {
   "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"
  },
  "r211": {
   "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"
  },
  "r212": {
   "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"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r214": {
   "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"
  },
  "r215": {
   "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"
  },
  "r216": {
   "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"
  },
  "r217": {
   "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"
  },
  "r218": {
   "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"
  },
  "r219": {
   "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"
  },
  "r22": {
   "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"
  },
  "r220": {
   "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"
  },
  "r221": {
   "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"
  },
  "r222": {
   "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"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r224": {
   "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"
  },
  "r225": {
   "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"
  },
  "r226": {
   "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"
  },
  "r227": {
   "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"
  },
  "r228": {
   "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"
  },
  "r229": {
   "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"
  },
  "r23": {
   "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"
  },
  "r230": {
   "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"
  },
  "r231": {
   "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"
  },
  "r232": {
   "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"
  },
  "r233": {
   "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"
  },
  "r234": {
   "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"
  },
  "r235": {
   "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"
  },
  "r236": {
   "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"
  },
  "r237": {
   "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"
  },
  "r238": {
   "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"
  },
  "r239": {
   "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"
  },
  "r24": {
   "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"
  },
  "r240": {
   "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"
  },
  "r241": {
   "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"
  },
  "r242": {
   "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"
  },
  "r243": {
   "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"
  },
  "r244": {
   "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"
  },
  "r245": {
   "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"
  },
  "r246": {
   "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"
  },
  "r247": {
   "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"
  },
  "r248": {
   "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"
  },
  "r249": {
   "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"
  },
  "r25": {
   "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"
  },
  "r250": {
   "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"
  },
  "r251": {
   "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"
  },
  "r252": {
   "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"
  },
  "r253": {
   "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"
  },
  "r254": {
   "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"
  },
  "r255": {
   "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"
  },
  "r256": {
   "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"
  },
  "r257": {
   "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"
  },
  "r258": {
   "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"
  },
  "r259": {
   "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"
  },
  "r26": {
   "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"
  },
  "r260": {
   "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"
  },
  "r261": {
   "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"
  },
  "r262": {
   "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"
  },
  "r263": {
   "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"
  },
  "r264": {
   "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"
  },
  "r265": {
   "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"
  },
  "r266": {
   "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"
  },
  "r267": {
   "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"
  },
  "r268": {
   "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"
  },
  "r269": {
   "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"
  },
  "r27": {
   "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"
  },
  "r270": {
   "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"
  },
  "r271": {
   "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"
  },
  "r272": {
   "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"
  },
  "r273": {
   "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"
  },
  "r274": {
   "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"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=118632142&loc=SL109983883-199619"
  },
  "r276": {
   "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"
  },
  "r277": {
   "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"
  },
  "r278": {
   "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"
  },
  "r279": {
   "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"
  },
  "r28": {
   "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"
  },
  "r280": {
   "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"
  },
  "r281": {
   "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"
  },
  "r282": {
   "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"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r284": {
   "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"
  },
  "r285": {
   "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"
  },
  "r286": {
   "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"
  },
  "r287": {
   "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"
  },
  "r288": {
   "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"
  },
  "r289": {
   "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"
  },
  "r29": {
   "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"
  },
  "r290": {
   "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"
  },
  "r291": {
   "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"
  },
  "r292": {
   "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"
  },
  "r293": {
   "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"
  },
  "r294": {
   "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"
  },
  "r295": {
   "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"
  },
  "r296": {
   "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"
  },
  "r297": {
   "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"
  },
  "r298": {
   "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"
  },
  "r299": {
   "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"
  },
  "r3": {
   "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"
  },
  "r30": {
   "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"
  },
  "r300": {
   "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"
  },
  "r301": {
   "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"
  },
  "r302": {
   "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"
  },
  "r303": {
   "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"
  },
  "r304": {
   "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"
  },
  "r305": {
   "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"
  },
  "r306": {
   "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"
  },
  "r307": {
   "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"
  },
  "r308": {
   "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"
  },
  "r309": {
   "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"
  },
  "r31": {
   "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"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "http://asc.fasb.org/topic&trid=2122774"
  },
  "r311": {
   "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"
  },
  "r312": {
   "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"
  },
  "r313": {
   "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"
  },
  "r314": {
   "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"
  },
  "r315": {
   "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"
  },
  "r316": {
   "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"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "http://asc.fasb.org/subtopic&trid=2176304"
  },
  "r318": {
   "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"
  },
  "r319": {
   "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"
  },
  "r32": {
   "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"
  },
  "r320": {
   "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"
  },
  "r321": {
   "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"
  },
  "r322": {
   "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"
  },
  "r323": {
   "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"
  },
  "r324": {
   "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"
  },
  "r325": {
   "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"
  },
  "r326": {
   "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"
  },
  "r327": {
   "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"
  },
  "r328": {
   "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"
  },
  "r329": {
   "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"
  },
  "r33": {
   "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"
  },
  "r330": {
   "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"
  },
  "r331": {
   "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"
  },
  "r332": {
   "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"
  },
  "r333": {
   "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"
  },
  "r334": {
   "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"
  },
  "r335": {
   "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"
  },
  "r336": {
   "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"
  },
  "r337": {
   "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"
  },
  "r338": {
   "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"
  },
  "r339": {
   "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"
  },
  "r34": {
   "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"
  },
  "r340": {
   "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"
  },
  "r341": {
   "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"
  },
  "r342": {
   "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"
  },
  "r343": {
   "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"
  },
  "r344": {
   "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"
  },
  "r345": {
   "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"
  },
  "r346": {
   "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"
  },
  "r347": {
   "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"
  },
  "r348": {
   "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"
  },
  "r349": {
   "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"
  },
  "r35": {
   "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"
  },
  "r350": {
   "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"
  },
  "r351": {
   "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"
  },
  "r352": {
   "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"
  },
  "r353": {
   "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"
  },
  "r354": {
   "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"
  },
  "r355": {
   "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"
  },
  "r356": {
   "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"
  },
  "r357": {
   "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"
  },
  "r358": {
   "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"
  },
  "r359": {
   "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"
  },
  "r36": {
   "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"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/subtopic&trid=2209399"
  },
  "r361": {
   "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"
  },
  "r362": {
   "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"
  },
  "r363": {
   "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"
  },
  "r364": {
   "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"
  },
  "r365": {
   "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"
  },
  "r366": {
   "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"
  },
  "r367": {
   "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"
  },
  "r368": {
   "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"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "942",
   "URI": "http://asc.fasb.org/topic&trid=2209208"
  },
  "r37": {
   "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"
  },
  "r370": {
   "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"
  },
  "r371": {
   "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"
  },
  "r372": {
   "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"
  },
  "r373": {
   "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"
  },
  "r374": {
   "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"
  },
  "r375": {
   "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"
  },
  "r376": {
   "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"
  },
  "r377": {
   "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"
  },
  "r378": {
   "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"
  },
  "r379": {
   "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"
  },
  "r38": {
   "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"
  },
  "r380": {
   "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"
  },
  "r381": {
   "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"
  },
  "r382": {
   "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"
  },
  "r383": {
   "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"
  },
  "r384": {
   "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"
  },
  "r385": {
   "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"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "http://asc.fasb.org/subtopic&trid=2324412"
  },
  "r387": {
   "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"
  },
  "r388": {
   "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"
  },
  "r389": {
   "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"
  },
  "r39": {
   "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"
  },
  "r390": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-13"
  },
  "r391": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1-"
  },
  "r392": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r393": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r4": {
   "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"
  },
  "r40": {
   "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"
  },
  "r41": {
   "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"
  },
  "r42": {
   "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"
  },
  "r43": {
   "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"
  },
  "r44": {
   "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"
  },
  "r45": {
   "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"
  },
  "r46": {
   "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"
  },
  "r47": {
   "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"
  },
  "r48": {
   "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"
  },
  "r49": {
   "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"
  },
  "r5": {
   "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"
  },
  "r50": {
   "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"
  },
  "r51": {
   "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"
  },
  "r52": {
   "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"
  },
  "r53": {
   "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"
  },
  "r54": {
   "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"
  },
  "r55": {
   "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"
  },
  "r56": {
   "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"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "220",
   "URI": "http://asc.fasb.org/topic&trid=2134417"
  },
  "r58": {
   "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"
  },
  "r59": {
   "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"
  },
  "r6": {
   "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"
  },
  "r60": {
   "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"
  },
  "r61": {
   "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"
  },
  "r62": {
   "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"
  },
  "r63": {
   "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"
  },
  "r64": {
   "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"
  },
  "r65": {
   "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"
  },
  "r66": {
   "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"
  },
  "r67": {
   "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"
  },
  "r68": {
   "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"
  },
  "r69": {
   "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"
  },
  "r7": {
   "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"
  },
  "r70": {
   "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"
  },
  "r71": {
   "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"
  },
  "r72": {
   "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"
  },
  "r73": {
   "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"
  },
  "r74": {
   "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"
  },
  "r75": {
   "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"
  },
  "r76": {
   "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"
  },
  "r77": {
   "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"
  },
  "r78": {
   "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"
  },
  "r79": {
   "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"
  },
  "r8": {
   "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"
  },
  "r80": {
   "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"
  },
  "r81": {
   "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"
  },
  "r82": {
   "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"
  },
  "r83": {
   "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"
  },
  "r84": {
   "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"
  },
  "r85": {
   "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"
  },
  "r86": {
   "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"
  },
  "r87": {
   "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"
  },
  "r88": {
   "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"
  },
  "r89": {
   "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"
  },
  "r9": {
   "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"
  },
  "r90": {
   "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"
  },
  "r91": {
   "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"
  },
  "r92": {
   "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"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r94": {
   "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"
  },
  "r95": {
   "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"
  },
  "r96": {
   "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"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "http://asc.fasb.org/topic&trid=2122394"
  },
  "r98": {
   "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"
  },
  "r99": {
   "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"
  }
 },
 "version": "2.1"
}
