| **Loans - Loan Portfolio (Details) - USD ($) $ in Thousands**    | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014 |
|------------------------------------------------------------------|---------------|---------------|---------------|
| **Accounts, Notes, Loans and Financing Receivable [Line Items]** |          |          |          |
| Loans                                                            | $ 1,071,526   | $ 988,638     | $ 917,564     |
| Percentage of loans receivable                                   | 100.00%       | 100.00%       |          |
| Commercial | Real Estate                                         |          |          |          |
| **Accounts, Notes, Loans and Financing Receivable [Line Items]** |          |          |          |
| Loans                                                            | $ 302,506     | $ 269,462     | 242,311       |
| Percentage of loans receivable                                   | 28.20%        | 27.30%        |          |
| Commercial | Construction                                        |          |          |          |
| **Accounts, Notes, Loans and Financing Receivable [Line Items]** |          |          |          |
| Loans                                                            | $ 25,406      | $ 24,881      | 30,932        |
| Percentage of loans receivable                                   | 2.40%         | 2.50%         |          |
| Commercial | Other                                               |          |          |          |
| **Accounts, Notes, Loans and Financing Receivable [Line Items]** |          |          |          |
| Loans                                                            | $ 150,769     | $ 128,341     | 104,531       |
| Percentage of loans receivable                                   | 14.10%        | 13.00%        |          |
| Municipal                                                        |          |          |          |
| **Accounts, Notes, Loans and Financing Receivable [Line Items]** |          |          |          |
| Loans                                                            | $ 27,056      | $ 19,751      | 20,424        |
| Percentage of loans receivable                                   | 2.50%         | 2.00%         |          |
| Residential | Construction                                       |          |          |          |
| **Accounts, Notes, Loans and Financing Receivable [Line Items]** |          |          |          |
| Loans                                                            | $ 18,303      | $ 8,451       | 12,160        |
| Percentage of loans receivable                                   | 1.70%         | 0.90%         |          |
| Residential | Term                                               |          |          |          |
| **Accounts, Notes, Loans and Financing Receivable [Line Items]** |          |          |          |
| Loans                                                            | $ 411,469     | $ 403,030     | 384,032       |
| Percentage of loans receivable                                   | 38.40%        | 40.70%        |          |
| Home Equity LIne of Credit                                       |          |          |          |
| **Accounts, Notes, Loans and Financing Receivable [Line Items]** |          |          |          |
| Loans                                                            | $ 110,907     | $ 110,202     | 103,521       |
| Percentage of loans receivable                                   | 10.40%        | 11.10%        |          |
| Consumer                                                         |          |          |          |
| **Accounts, Notes, Loans and Financing Receivable [Line Items]** |          |          |          |
| Loans                                                            | $ 25,110      | $ 24,520      | $ 19,653      |
| Percentage of loans receivable                                   | 2.30%         | 2.50%         |          |

| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Reflects the break down of the gross carrying amount of all categories of loans and leases held in the portfolio, after deducting deferred income, but before deducting the allowance for losses on loans and leases as a percentage of total portfolio.
+ References
No definition available.
+ Details**Name:**fnlc_PercentageOfLoansReceivableByType**Namespace Prefix:**fnlc_**Data Type:**num:percentItemType**Balance Type:**na**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
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.
+ References
No definition available.
+ Details**Name:**us-gaap_AccountsNotesAndLoansReceivableLineItems**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
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.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=65884687&loc=d3e4428-111522Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=66008989&loc=d3e5074-111524
+ Details**Name:**us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| X                                                                                                                                                                                |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                                                  |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                                                     |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_ConstructionLoansMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=fnlc_OtherLoansMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                     |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FinancingReceivablePortfolioSegmentAxis=fnlc_MunicipalPortfolioMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                                 |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                                         |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=fnlc_TermLoanMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                                  |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FinancingReceivablePortfolioSegmentAxis=fnlc_HomeEquityLIneofCreditPortfolioMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                              |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |