| **Certificates of Deposit (Details) - USD ($) $ in Thousands**     | 12 Months Ended |
|--------------------------------------------------------------------|-----------------|
||
| **Maturities Of Certificates Of Deposit [Line Items]**             |            |   |   |
| Certificates of deposit less than $100,000                         | $ 195,115       | $ 158,529 |   |
| Certificates $100,000 to $250,000                                  | 240,904         | 175,077 |   |
| Certificates $250,000 and over                                     | 40,601          | 37,376 |   |
| Total                                                              | 476,620         | 370,982 |   |
| **Maturity of certificates of deposit [Abstract]**                 |            |   |   |
| 2017                                                               | 321,537         |   |   |
| 2018                                                               | 30,858          |   |   |
| 2019                                                               | 45,272          |   |   |
| 2020                                                               | 45,912          |   |   |
| 2021                                                               | 32,464          |   |   |
| 2022 and thereafter                                                | 577             |   |   |
| Total                                                              | 476,620         | 370,982 |   |
| Interest expense on certificates of deposit of $100,000 or greater | 1,970           | $ 2,431 | $ 2,823 |
| Less than $100,000                                                 |            |   |   |
| **Maturities Of Certificates Of Deposit [Line Items]**             |            |   |   |
| Total                                                              | 195,115         |   |   |
| **Maturity of certificates of deposit [Abstract]**                 |            |   |   |
| 2017                                                               | 132,813         |   |   |
| 2018                                                               | 13,346          |   |   |
| 2019                                                               | 20,991          |   |   |
| 2020                                                               | 14,597          |   |   |
| 2021                                                               | 13,313          |   |   |
| 2022 and thereafter                                                | 55              |   |   |
| Total                                                              | 195,115         |   |   |
| $100,000 and Greater                                               |            |   |   |
| **Maturities Of Certificates Of Deposit [Line Items]**             |            |   |   |
| Total                                                              | 281,505         |   |   |
| **Maturity of certificates of deposit [Abstract]**                 |            |   |   |
| 2017                                                               | 188,724         |   |   |
| 2018                                                               | 17,512          |   |   |
| 2019                                                               | 24,281          |   |   |
| 2020                                                               | 31,315          |   |   |
| 2021                                                               | 19,151          |   |   |
| 2022 and thereafter                                                | 522             |   |   |
| Total                                                              | $ 281,505       |   |   |

| X                                                                                                                                                                                                                                                                                 |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
-- None. No documentation exists for this element. --
+ References
No definition available.
+ Details**Name:**fnlc_MaturitiesOfCertificatesOfDepositLineItems**Namespace Prefix:**fnlc_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                 |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The aggregate amount of domestic or foreign time deposits (including certificates of deposits, individual retirement accounts and open accounts) that total to more than $250,000.
+ References
No definition available.
+ Details**Name:**fnlc_TimeDeposits250000OrMore**Namespace Prefix:**fnlc_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The aggregate amount of domestic or foreign time deposits (including certificates of deposits, individual retirement accounts and open accounts) that total to more than $100,000 but less than $250,000.
+ References
No definition available.
+ Details**Name:**fnlc_TimeDepositsGreaterThan100000AndLessThan250000**Namespace Prefix:**fnlc_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Interest expense incurred on time deposits, including certificates of deposits, of $100,000 or more in domestic offices.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.6) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882
+ Details**Name:**us-gaap_InterestExpenseTimeDeposits100000OrMore**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of time deposits maturing after the fifth fiscal year following the latest fiscal year. Time deposits include, but are not limited to, certificates of deposits. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
+ Details**Name:**us-gaap_TimeDepositMaturitiesAfterYearFive**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of time deposits maturing in the fifth fiscal year following the latest fiscal year. Time deposits include, but are not limited to, certificates of deposits. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
+ Details**Name:**us-gaap_TimeDepositMaturitiesYearFive**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of time deposits maturing in the fourth fiscal year following the latest fiscal year. Time deposits include, but are not limited to, certificates of deposits. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
+ Details**Name:**us-gaap_TimeDepositMaturitiesYearFour**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of time deposits maturing in the next fiscal year following the latest fiscal year. Time deposits include, but are not limited to, certificates of deposits. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Industry Guide -Number 3 -Section V -Paragraph D-E
+ Details**Name:**us-gaap_TimeDepositMaturitiesYearOne**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of time deposits maturing in the third fiscal year following the latest fiscal year. Time deposits include, but are not limited to, certificates of deposits. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
+ Details**Name:**us-gaap_TimeDepositMaturitiesYearThree**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of time deposits maturing in the second fiscal year following the latest fiscal year. Time deposits include, but are not limited to, certificates of deposits. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
+ Details**Name:**us-gaap_TimeDepositMaturitiesYearTwo**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of time deposit liabilities, including certificates of deposit.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 405 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=50488274&loc=d3e64164-112818Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.12) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Industry Guide -Number 3 -Section V -Paragraph D-E
+ Details**Name:**us-gaap_TimeDeposits**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                        |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - References
No definition available.
+ Details**Name:**us-gaap_TimeDepositsByMaturityAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of time deposit liabilities, including certificates of deposit, in denominations of less than $100,000.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Industry Guide -Number 3 -Section V -Paragraph D-E
+ Details**Name:**us-gaap_TimeDepositsLessThan100000**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                      |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**fnlc_MaturitiesOfCertificatesOfDepositsByBalanceAxis=fnlc_LessThan100000Member**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                         |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**fnlc_MaturitiesOfCertificatesOfDepositsByBalanceAxis=fnlc_GreaterThan100000Member**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |