Loans and Allowances for Credit Losses [Text Block] | Loans and Allowances for Credit Losses The portfolio segments of the loan portfolio are as follows (in thousands): December 31, 2018 December 31, 2017 Fixed Rate Variable Rate Non-accrual Total Fixed Rate Variable Rate Non-accrual Total Commercial $ 2,251,188 $ 11,285,049 $ 99,841 $ 13,636,078 $ 2,217,432 $ 8,379,240 $ 137,303 $ 10,733,975 Commercial real estate 1,477,274 3,265,918 21,621 4,764,813 548,692 2,928,440 2,855 3,479,987 Residential mortgage 1,830,224 358,254 41,555 2,230,033 1,608,655 317,584 47,447 1,973,686 Personal 190,687 834,889 230 1,025,806 154,517 810,990 269 965,776 Total $ 5,749,373 $ 15,744,110 $ 163,247 $ 21,656,730 $ 4,529,296 $ 12,436,254 $ 187,874 $ 17,153,424 Accruing loans past due (90 days) 1 $ 1,338 $ 633 Foregone interest on nonaccrual loans $ 15,502 $ 16,496 1 Excludes residential mortgage loans guaranteed by agencies of the U.S. government. At December 31, 2018 , loans to businesses and individuals with collateral primarily located in Texas totaled $6.4 billion or 30% of the total loan portfolio. Loans to businesses and individuals with collateral primarily located in Oklahoma totaled $3.5 billion or 16% of our total loan portfolio. Loans to businesses and individuals with collateral primarily located in Colorado totaled $3.3 billion or 15% of our total loan portfolio. Loans for which the collateral location is not relevant, such as unsecured loans and reserve-based energy loans, are distributed by the borrower’s primary operating location. These geographic concentrations subject the loan portfolio to the general economic conditions within these areas. At December 31, 2017 , loans to businesses and individuals with collateral primarily located in Texas totaled $5.8 billion or 34% of the loan portfolio and loans to businesses and individuals with collateral primarily located in Oklahoma totaled $3.3 billion or 19% of the loan portfolio. Commercial Commercial loans represent loans for working capital, facilities acquisition or expansion, purchases of equipment and other needs of commercial customers primarily located within our geographical footprint. Commercial loans are underwritten individually and represent on-going relationships based on a thorough knowledge of the customer, the customer’s industry and market. While commercial loans are generally secured by the customer’s assets including real property, inventory, accounts receivable, operating equipment, interest in mineral rights and other property and may also include personal guarantees of the owners and related parties, the primary source of repayment of the loans is the on-going cash flow from operations of the customer’s business. Inherent lending risk is centrally monitored on a continuous basis from underwriting throughout the life of the loan for compliance with commercial lending policies. At December 31, 2018 , commercial loans with collateral primarily located in Texas totaled $4.1 billion or 30% of the commercial loan portfolio segment. Commercial loans with collateral primarily located in Oklahoma totaled $2.2 billion or 16% of the commercial loan portfolio segment. Commercial loans with collateral primarily located in Colorado totaled $2.0 billion or 15% of the commercial loan portfolio segment. The commercial loan portfolio segment is further divided into loan classes. The services loan class totaled $3.3 billion or 15% of total loans. Approximately $2.3 billion of loans in the services class consisted of loans with individual balances of less than $10 million . Businesses included in the services class include commercial services, Native American tribal governments, financial services, entertainment and recreation and education. The energy loan class totaled $3.6 billion or 17% of total loans, including $2.9 billion of outstanding loans to energy producers. Approximately 57% of committed production loans were secured by properties primarily producing oil and 43% are secured by properties producing natural gas. The healthcare loan class totaled $2.7 billion or 13% of total loans. The healthcare loan class consists primarily of loans for the development and operation of senior housing and care facilities, including independent living, assisted living and skilled nursing. Healthcare also includes loans to hospitals and other medical service providers. At December 31, 2017 , commercial loans with collateral primarily located in Texas totaled $3.6 billion or 34% of the commercial loan portfolio segment and commercial loans with collateral primarily located in Oklahoma totaled $2.0 billion or 18% of the commercial loan portfolio segment. The energy loan class totaled $2.9 billion or 17% of total loans, including $2.5 billion of outstanding loans to energy producers. At December 31, 2017 , approximately 57% of committed production loans were secured by properties primarily producing oil and 43% were secured by properties producing natural gas. The services loan class totaled $2.5 billion or 15% of total loans. Approximately $1.5 billion of loans in the services category consisted of loans with individual balances of less than $10 million . The healthcare loan class totaled $2.2 billion or 13% of total loans. Commercial Real Estate Commercial real estate loans are for the construction of buildings or other improvements to real estate and property held by borrowers for investment purposes primarily within our geographical footprint. We require collateral values in excess of the loan amounts, demonstrated cash flows in excess of expected debt service requirements, equity investment in the project and a portion of the project already sold, leased or permanent financing already secured. The expected cash flows from all significant new or renewed income producing property commitments are stress tested to reflect the risks in varying interest rates, vacancy rates and rental rates. As with commercial loans, inherent lending risks are centrally monitored on a continuous basis from underwriting throughout the life of the loan for compliance with applicable lending policies. At December 31, 2018 , 26% of commercial real estate loans are secured by properties primarily located in the Dallas and Houston areas of Texas. An additional 16% of commercial real estate loans are secured by properties located primarily in the Denver, Colorado metropolitan area. At December 31, 2017 , 35% of commercial real estate loans were secured by properties in Texas, 12% of commercial real estate loans were secured by properties in Oklahoma. Residential Mortgage and Personal Residential mortgage loans provide funds for our customers to purchase or refinance their primary residence or to borrow against the equity in their home. Residential mortgage loans are secured by a first or second mortgage on the customer’s primary residence. Personal loans consist primarily of loans secured by the cash surrender value of insurance policies and marketable securities. It also includes direct loans secured by and for the purchase of automobiles, recreational and marine equipment as well as other unsecured loans. Residential mortgage and personal loans are made in accordance with underwriting policies. Credit scoring is assessed based on significant credit characteristics including credit history, residential and employment stability. Residential mortgage loans retained in the Company’s portfolio are primarily composed of various mortgage programs to support customer relationships including jumbo mortgage loans, non-builder construction loans and special loan programs for high net worth individuals and certain professionals. Jumbo loans may be fixed or variable rate and are fully amortizing. Jumbo loans generally conform to government sponsored entity standards, except that the loan size exceeds maximums required under these standards. These loans generally require a minimum FICO score of 720 and a maximum debt-to-income ratio (“DTI”) of 38% . Loan-to-value (“LTV”) ratios are tiered from 60% to 100% , depending on the market. Special mortgage programs include fixed and variable fully amortizing loans tailored to the needs of certain healthcare professionals. Variable rate loans are fully indexed at origination and may have fixed rates for 3 years to 10 years , then adjust annually thereafter. At December 31, 2018 and 2017 , residential mortgage loans included $191 million and $198 million , respectively, of loans guaranteed by U.S. government agencies previously sold into GNMA mortgage pools. These loans either have been repurchased or are eligible to be repurchased by the Company when certain defined delinquency criteria are met. Although payments on these loans generally are past due more than 90 days, interest continues to accrue based on the government guarantee. Home equity loans totaled $719 million at December 31, 2018 and $733 million at December 31, 2017 . At December 31, 2018 , 59% of the home equity loan portfolio was comprised of first lien loans and 41% of the home equity portfolio was comprised of junior lien loans. Junior lien loans were distributed 40% to amortizing term loans and 60% to revolving lines of credit. At December 31, 2017 , 64% of the home equity portfolio was comprised of first lien loans and 36% of the home equity loan portfolio was comprised of junior lien loans. Junior lien loans were distributed 46% to amortizing term loans and 54% to revolving lines of credit. Home equity loans generally require a minimum FICO score of 700 and a maximum DTI of 40%. The maximum loan amount available for our home equity loan products is generally $400 thousand . Revolving loans have a 5 year revolving period followed by 15 year term of amortizing repayments. Interest-only home equity loans may not be extended for any additional revolving time. All other home equity loans may be extended at management's discretion for an additional 5 year revolving term subject to an update of certain credit information. At December 31, 2018 , 26% of residential mortgage loans are secured by properties located in Oklahoma, 28% of residential mortgage loans are secured by properties located in Texas and 19% of residential mortgage are secured by properties located in Colorado. At December 31, 2017 , 31% of residential mortgage loans were secured by properties in Oklahoma, 30% of residential mortgage were secured by properties in Texas, 11% of residential mortgage loans are secured by properties in Colorado and 9% of residential mortgage loans are secured by properties in New Mexico. Purchase Credit Impaired Loans In conjunction with the acquisition of CoBiz Financial on October, 1, 2018, the Company acquired certain loans for which there was evidence of deterioration of credit quality since origination and for which it was probable that all contractually required payments would not be collected ("PCI loans"). At December 31, 2018, the carrying amount of PCI loans was $31 million and the unpaid balance was $47 million . The accretable yield related to these PCI loans was $843 thousand . Credit Commitments Commitments to extend credit are agreements to lend to a customer as long as there is no violation of conditions established in the contract. Commitments generally have fixed expiration dates or other termination clauses and may require payment of a fee. At December 31, 2018 , outstanding commitments totaled $12 billion . Because some commitments are expected to expire before being drawn upon, the total commitment amounts do not necessarily represent future cash requirements. BOK Financial uses the same credit policies in making commitments as it does loans. The amount of collateral obtained, if deemed necessary, is based upon management’s credit evaluation of the borrower. Standby letters of credit are conditional commitments issued to guarantee the performance of a customer to a third party. Because the credit risk involved in issuing standby letters of credit is essentially the same as that involved in extending loan commitments, BOK Financial uses the same credit policies in evaluating the creditworthiness of the customer. Additionally, BOK Financial uses the same evaluation process in obtaining collateral on standby letters of credit as it does for loan commitments. The term of these standby letters of credit is defined in each commitment and typically corresponds with the underlying loan commitment. At December 31, 2018 , outstanding standby letters of credit totaled $582 million . Commercial letters of credit are used to facilitate customer trade transactions with the drafts being drawn when the underlying transaction is consummated. At December 31, 2018 , outstanding commercial letters of credit totaled $1.9 million . Allowances for Credit Losses BOK Financial maintains an allowance for loan losses and an accrual for off-balance sheet credit risk. The accrual for off-balance sheet credit risk is maintained at a level that is appropriate to cover estimated losses associated with credit instruments that are not currently recognized as assets such as loan commitments, standby letters of credit or guarantees. As discussed in greater detail in Note 7 , the Company also has separate accruals related to off-balance sheet credit risk related to residential mortgage loans previously sold with full or partial recourse and for residential mortgage loans sold to government sponsored agencies under standard representations and warranties. The allowance for loan losses consists of specific allowances attributed to impaired loans that have not yet been charged down to amounts we expect to recover, general allowances for unimpaired loans based on estimated loss rates by loan class and nonspecific allowances based on general economic conditions, concentration in loans with large balances and other relevant factors. The activity in the allowance for loan losses and the accrual for off-balance sheet credit risk related to loan commitments and standby letters of credit for the year ended December 31, 2018 is summarized as follows (in thousands): Commercial Commercial Real Estate Residential Mortgage Personal Nonspecific Allowance Total Allowance for loan losses: Beginning balance $ 124,269 $ 56,621 $ 18,451 $ 9,124 $ 22,217 $ 230,682 Provision for loan losses 12,521 (147 ) (1,156 ) 3,175 (4,449 ) 9,944 Loans charged off (37,880 ) — (378 ) (5,325 ) — (43,583 ) Recoveries 3,316 3,552 1,047 2,499 — 10,414 Ending balance $ 102,226 $ 60,026 $ 17,964 $ 9,473 $ 17,768 $ 207,457 Accrual for off-balance sheet credit risk: Beginning balance $ 3,644 $ 45 $ 43 $ 2 $ — $ 3,734 Provision for off-balance sheet credit risk (1,989 ) 7 9 29 — (1,944 ) Ending balance $ 1,655 $ 52 $ 52 $ 31 $ — $ 1,790 Total provision for credit losses $ 10,532 $ (140 ) $ (1,147 ) $ 3,204 $ (4,449 ) $ 8,000 The activity in the allowance for loan losses and the accrual for off-balance sheet credit risk related to loan commitments and standby letters of credit for the year ended December 31, 2017 is summarized as follows (in thousands): Commercial Commercial Real Estate Residential Mortgage Personal Nonspecific Allowance Total Allowance for loan losses: Beginning balance $ 140,213 $ 50,749 $ 18,224 $ 8,773 $ 28,200 $ 246,159 Provision for loan losses (595 ) 4,008 116 2,964 (5,983 ) 510 Loans charged off (19,810 ) (76 ) (649 ) (5,064 ) — (25,599 ) Recoveries 4,461 1,940 760 2,451 — 9,612 Ending balance $ 124,269 $ 56,621 $ 18,451 $ 9,124 $ 22,217 $ 230,682 Accrual for off-balance sheet credit risk: Beginning balance $ 11,063 $ 123 $ 50 $ 8 $ — $ 11,244 Provision for off-balance sheet credit risk (7,419 ) (78 ) (7 ) (6 ) — (7,510 ) Ending balance $ 3,644 $ 45 $ 43 $ 2 $ — $ 3,734 Total provision for credit losses $ (8,014 ) $ 3,930 $ 109 $ 2,958 $ (5,983 ) $ (7,000 ) The activity in the allowance for loan losses and the accrual for off-balance sheet credit risk related to loan commitments and standby letters of credit for the year ended December 31, 2016 is summarized as follows (in thousands): Commercial Commercial Real Estate Residential Mortgage Personal Nonspecific Allowance Total Allowance for loan losses: Beginning balance $ 130,334 $ 41,391 $ 19,509 $ 4,164 $ 30,126 $ 225,524 Provision for loan losses 43,980 8,075 (1,972 ) 7,310 (1,926 ) 55,467 Loans charged off (35,828 ) — (1,312 ) (5,448 ) — (42,588 ) Recoveries 1,727 1,283 1,999 2,747 — 7,756 Ending balance $ 140,213 $ 50,749 $ 18,224 $ 8,773 $ 28,200 $ 246,159 Accrual for off-balance sheet credit risk: Beginning balance $ 1,506 $ 153 $ 30 $ 22 $ — $ 1,711 Provision for off-balance sheet credit risk 9,557 (30 ) 20 (14 ) — 9,533 Ending balance $ 11,063 $ 123 $ 50 $ 8 $ — $ 11,244 Total provision for credit losses $ 53,537 $ 8,045 $ (1,952 ) $ 7,296 $ (1,926 ) $ 65,000 The allowance for loan losses and recorded investment of the related loans by portfolio segment for each impairment measurement method at December 31, 2018 is as follows (in thousands): Collectively Measured for Impairment Individually Measured for Impairment Total Recorded Investment Related Allowance Recorded Investment Related Allowance Recorded Investment Related Allowance Commercial $ 13,536,237 $ 93,494 $ 99,841 $ 8,732 $ 13,636,078 $ 102,226 Commercial real estate 4,743,192 60,026 21,621 — 4,764,813 60,026 Residential mortgage 2,188,478 17,964 41,555 — 2,230,033 17,964 Personal 1,025,576 9,473 230 — 1,025,806 9,473 Total 21,493,483 180,957 163,247 8,732 21,656,730 189,689 Nonspecific allowance — — — — — 17,768 Total $ 21,493,483 $ 180,957 $ 163,247 $ 8,732 $ 21,656,730 $ 207,457 The allowance for loan losses and recorded investment of the related loans by portfolio segment for each impairment measurement method at December 31, 2017 is as follows (in thousands): Collectively Measured for Impairment Individually Measured for Impairment Total Recorded Investment Related Allowance Recorded Investment Related Allowance Recorded Investment Related Allowance Commercial $ 10,596,672 $ 115,438 $ 137,303 $ 8,831 $ 10,733,975 $ 124,269 Commercial real estate 3,477,132 56,621 2,855 — 3,479,987 56,621 Residential mortgage 1,926,239 18,451 47,447 — 1,973,686 18,451 Personal 965,507 9,124 269 — 965,776 9,124 Total 16,965,550 199,634 187,874 8,831 17,153,424 208,465 Nonspecific allowance — — — — — 22,217 Total $ 16,965,550 $ 199,634 $ 187,874 $ 8,831 $ 17,153,424 $ 230,682 Credit Quality Indicators The Company utilizes loan class and risk grading as primary credit quality indicators. Substantially all commercial and commercial real estate loans and certain residential mortgage and personal loans are risk graded based on a quarterly evaluation of the borrowers’ ability to repay the loans. Certain commercial loans and most residential mortgage and personal loans are small, homogeneous pools that are not risk graded. The allowance for loan losses and recorded investment of the related loans by portfolio segment for risk graded and non-risk graded loans at December 31, 2018 is as follows (in thousands): Internally Risk Graded Non-Graded Total Recorded Investment Related Allowance Recorded Investment Related Allowance Recorded Investment Related Allowance Commercial $ 13,586,654 $ 101,303 $ 49,424 $ 923 $ 13,636,078 $ 102,226 Commercial real estate 4,764,813 60,026 — — 4,764,813 60,026 Residential mortgage 505,046 3,310 1,724,987 14,654 2,230,033 17,964 Personal 948,890 6,633 76,916 2,840 1,025,806 9,473 Total 19,805,403 171,272 1,851,327 18,417 21,656,730 189,689 Nonspecific allowance — — — — — 17,768 Total $ 19,805,403 $ 171,272 $ 1,851,327 $ 18,417 $ 21,656,730 $ 207,457 The allowance for loan losses and recorded investment of the related loans by portfolio segment for risk graded and non-risk graded loans at December 31, 2017 is as follows (in thousands): Internally Risk Graded Non-Graded Total Recorded Investment Related Allowance Recorded Investment Related Allowance Recorded Investment Related Allowance Commercial $ 10,706,035 $ 123,383 $ 27,940 $ 886 $ 10,733,975 $ 124,269 Commercial real estate 3,479,987 56,621 — — 3,479,987 56,621 Residential mortgage 234,477 2,947 1,739,209 15,504 1,973,686 18,451 Personal 877,390 6,461 88,386 2,663 965,776 9,124 Total 15,297,889 189,412 1,855,535 19,053 17,153,424 208,465 Nonspecific allowance — — — — — 22,217 Total $ 15,297,889 $ 189,412 $ 1,855,535 $ 19,053 $ 17,153,424 $ 230,682 Loans are considered to be performing if they are in compliance with the original terms of the agreement which is consistent with the regulatory guideline of “pass.” Performing also includes loans considered to be “other loans especially mentioned” by regulatory guidelines and all residential mortgage loans guaranteed by agencies of the U.S. government that continue to accrue interest based on criteria of the guarantor's programs. Other loans especially mentioned are currently performing in compliance with the original terms of the agreement but may have a potential weakness that deserves management's close attention, consistent with regulatory guidelines. The risk grading process identified certain loans that have a well-defined weakness (e.g. inadequate debt service coverage or liquidity or marginal capitalization; repayment may depend on collateral or other risk mitigation) that may jeopardize liquidation of the debt and represent a greater risk due to deterioration in the financial condition of the borrower. This is consistent with the regulatory guideline for “substandard.” Because the borrowers are still performing in accordance with the original terms of the loan agreements, these loans were not placed in nonaccruing status. Nonaccruing loans represent loans for which full collection of principal and interest in accordance with the original terms of the loan agreements is uncertain. This is substantially the same criteria used to determine whether a loan is impaired and includes certain loans considered “substandard” and all loans considered “doubtful” by regulatory guidelines. The following table summarizes the Company’s loan portfolio at December 31, 2018 by the risk grade categories (in thousands): Internally Risk Graded Non-Graded Performing Pass Other Loans Especially Mentioned Accruing Substandard Nonaccrual Performing Nonaccrual Total Commercial: Energy $ 3,414,039 $ 42,176 $ 86,624 $ 47,494 $ — $ — $ 3,590,333 Services 3,161,157 49,761 32,661 8,567 — — 3,252,146 Wholesale/retail 1,593,902 18,809 7,131 1,316 — — 1,621,158 Manufacturing 668,438 30,934 22,230 8,919 — — 730,521 Healthcare 2,664,381 14,920 37,698 16,538 — — 2,733,537 Public finance 876,336 — — — — — 876,336 Other commercial and industrial 756,815 1,266 7,588 16,954 49,371 53 832,047 Total commercial 13,135,068 157,866 193,932 99,788 49,371 53 13,636,078 Commercial real estate: Residential construction and land development 148,234 — — 350 — — 148,584 Retail 885,588 11,926 1,289 20,279 — — 919,082 Office 1,059,334 10,532 3,054 — — — 1,072,920 Multifamily 1,287,471 281 12 301 — — 1,288,065 Industrial 776,898 — 1,208 — — — 778,106 Other commercial real estate 555,301 1,188 876 691 — — 558,056 Total commercial real estate 4,712,826 23,927 6,439 21,621 — — 4,764,813 Residential mortgage: Permanent mortgage 467,233 52 9,730 1,991 819,199 21,960 1,320,165 Permanent mortgages guaranteed by U.S. government agencies — — — — 183,734 7,132 190,866 Home equity 25,743 — 296 — 682,491 10,472 719,002 Total residential mortgage 492,976 52 10,026 1,991 1,685,424 39,564 2,230,033 Personal 944,256 115 4,443 76 76,762 154 1,025,806 Total $ 19,285,126 $ 181,960 $ 214,840 $ 123,476 $ 1,811,557 $ 39,771 $ 21,656,730 The following table summarizes the Company’s loan portfolio at December 31, 2017 by the risk grade categories (in thousands): Internally Risk Graded Non-Graded Performing Pass Other Loans Especially Mentioned Accruing Substandard Nonaccrual Performing Nonaccrual Total Commercial: Energy $ 2,632,986 $ 60,288 $ 144,598 92,284 $ — $ — $ 2,930,156 Services 2,478,945 13,927 26,533 2,620 — — 2,522,025 Wholesale/retail 1,443,917 19,263 5,502 2,574 — — 1,471,256 Manufacturing 472,869 6,653 11,290 5,962 — — 496,774 Healthcare 2,182,231 3,186 43,305 14,765 — — 2,243,487 Public finance 541,775 — — — — — 541,775 Other commercial and industrial 473,366 7 8,161 19,028 27,870 70 528,502 Total commercial 10,226,089 103,324 239,389 137,233 27,870 70 10,733,975 Commercial real estate: Residential construction and land development 113,190 1,828 395 1,832 — — 117,245 Retail 686,915 4,243 98 276 — — 691,532 Office 824,408 7,087 — 275 — — 831,770 Multifamily 979,969 — 48 — — — 980,017 Industrial 573,014 — — — — — 573,014 Other commercial real estate 285,506 145 286 472 — — 286,409 Total commercial real estate 3,463,002 13,303 827 2,855 — — 3,479,987 Residential mortgage: Permanent mortgage 232,492 — 822 1,163 784,928 24,030 1,043,435 Permanent mortgages guaranteed by U.S. government agencies — — — — 188,327 9,179 197,506 Home equity — — — — 719,670 13,075 732,745 Total residential mortgage 232,492 — 822 1,163 1,692,925 46,284 1,973,686 Personal 875,696 1,548 63 83 88,200 186 965,776 Total $ 14,797,279 $ 118,175 $ 241,101 141,334 $ 1,808,995 $ 46,540 $ 17,153,424 Impaired Loans Loans are considered to be impaired when it is probable that the Company will not be able to collect all amounts due according to the contractual terms of the loan agreement. This includes all nonaccruing loans, all loans modified in a troubled debt restructuring and all loans repurchased from GNMA pools. A summary of impaired loans follows (in thousands): As of December 31, 2018 Year Ended Recorded Investment December 31, 2018 Unpaid Principal Balance Total With No With Allowance Related Allowance Average Recorded Interest Income Recognized Commercial: Energy $ 79,675 $ 47,494 $ 18,639 $ 28,855 $ 5,362 $ 69,645 $ — Services 13,437 8,567 8,489 78 74 4,509 — Wholesale/retail 1,722 1,316 1,015 301 101 1,784 — Manufacturing 10,055 8,919 8,673 246 246 7,249 — Healthcare 24,319 16,538 10,563 5,975 2,949 14,297 — Public finance — — — — — — — Other commercial and industrial 26,955 17,007 17,007 — — 17,976 — Total commercial 156,163 99,841 64,386 35,455 8,732 115,460 — Commercial real estate: Residential construction and land development 1,306 350 350 — — 1,091 — Retail 27,680 20,279 20,279 — — 10,278 — Office — — — — — 137 — Multifamily 301 301 301 — — 151 — Industrial — — — — — — — Other commercial real estate 851 691 691 — — 581 — Total commercial real estate 30,138 21,621 21,621 — — 12,238 — Residential mortgage: Permanent mortgage 28,716 23,951 23,951 — — 24,572 1,233 Permanent mortgage guaranteed by U.S. government agencies 1 196,296 190,866 190,866 — — 180,813 7,172 Home equity 12,196 10,472 10,472 — — 11,774 — Total residential mortgage 237,208 225,289 225,289 — — 217,159 8,405 Personal 278 230 230 — — 250 — Total $ 423,787 $ 346,981 $ 311,526 $ 35,455 $ 8,732 $ 345,107 $ 8,405 1 All permanent mortgage loans guaranteed by U.S. government agencies are considered impaired as we do not expect full collection of contractual principal and interest. At December 31, 2018 , $7.1 million of these loans are nonaccruing and $184 million are accruing based on the guarantee by U.S. government agencies. Generally, no interest income is recognized on impaired loans until all principal balances, including amounts charged-off, have been recovered. As of December 31, 2017 Year Ended Recorded Investment December 31, 2017 Unpaid Principal Balance Total With No Allowance With Allowance Related Allowance Average Recorded Investment Interest Income Recognized Commercial: Energy $ 111,011 $ 92,284 $ 40,968 $ 51,316 $ 8,814 $ 112,392 $ — Services 5,324 2,620 2,620 — — 5,396 — Wholesale/retail 9,099 2,574 2,574 — — 6,990 — Manufacturing 6,073 5,962 5,962 — — 5,446 — Healthcare 25,140 14,765 14,765 — — 7,795 — Public finance — — — — — — — Other commercial and industrial 27,957 19,098 19,080 18 17 20,108 — Total commercial 184,604 137,303 85,969 51,334 8,831 158,127 — Commercial real estate: Residential construction and land development 3,285 1,832 1,832 — — 2,633 — Retail 509 276 276 — — 301 — Office 287 275 275 — — 351 — Multifamily — — — — — 19 — Industrial — — — — — 38 — Other commercial real estate 670 472 472 — — 847 — Total commercial real estate 4,751 2,855 2,855 — — 4,189 — Residential mortgage: Permanent mortgage 30,435 25,193 25,193 — — 24,024 1,229 Permanent mortgage guaranteed by U.S. government agencies 1 203,814 197,506 197,506 — — 199,244 7,632 Home equity 14,548 13,075 13,075 — — 12,297 — Total residential mortgage 248,797 235,774 235,774 — — 235,565 8,861 Personal 307 269 269 — — 280 — Total $ 438,459 $ 376,201 $ 324,867 $ 51,334 $ 8,831 $ 398,161 $ 8,861 1 All permanent mortgage loans guaranteed by U.S. government agencies are considered impaired as we do not expect full collection of contractual principal and interest. At December 31, 2017 , $9.2 million of these loans are nonaccruing and $188 million are accruing based on the guarantee by U.S. government agencies. Troubled Debt Restructurings At December 31, 2018 the Company has $166 million in troubled debt restructurings (TDRs), of which $86 million are accruing residential mortgage loans guaranteed by U.S. government agencies. Approximately $71 million of TDRs are performing in accordance with the modified terms. The loans designated as TDRs had $16.1 million in charge offs during the year ended December 31, 2018 . At December 31, 2017 , TDRs totaled $126 million , of which $74 million were accruing residential mortgage loans guaranteed by U.S. government agencies. Approximately $48 million of TDRs were performing. The loans designated as TDRs had $117 thousand in charge offs during the year ended December 31, 2017 . TDRs generally consist of interest rate concessions, payment stream concessions or a combination of concessions to distressed borrowers. During the year ended December 31, 2018 , $75 million of loans were restructured. During the year ended December 31, 2017 , $57 million of loans were restructured. Nonaccrual & Past Due Loans Past due status for all loan classes is based on the actual number of days since the last payment was due according to the contractual terms of the loans. A summary of loans currently performing, loans past due and accruing and nonaccrual loans as of December 31, 2018 is as follows (in thousands): Past Due Current 30 to 59 Days 60 to 89 Days 90 Days or More Nonaccrual Total Commercial: Energy $ 3,542,839 $ — — $ — $ 47,494 $ 3,590,333 Services 3,231,532 6,009 6,038 — 8,567 3,252,146 Wholesale/retail 1,619,290 515 37 — 1,316 1,621,158 Manufacturing 721,204 392 6 — 8,919 730,521 Healthcare 2,716,204 241 — 554 16,538 2,733,537 Public finance 876,336 — — — — 876,336 Other commercial and industrial 814,489 518 25 8 17,007 832,047 Total commercial 13,521,894 7,675 6,106 562 99,841 13,636,078 Commercial real estate: Residential construction and land development 147,705 249 280 — 350 148,584 Retail 884,424 14,379 — — 20,279 919,082 Office 1,072,920 — — — — 1,072,920 Multifamily 1,287,483 281 — — 301 1,288,065 Industrial 776,898 1,208 — — — 778,106 Other commercial real estate 556,239 412 — 714 691 558,056 Total commercial real estate 4,725,669 16,529 280 714 21,621 4,764,813 Residential mortgage: Permanent mortgage 1,292,652 3,196 366 — 23,951 1,320,165 Permanent mortgages guaranteed by U.S. government agencies 37,459 24,369 16,345 105,561 7,132 190,866 Home equity 707,017 1,102 352 59 10,472 719,002 Total residential mortgage 2,037,128 28,667 17,063 105,620 41,555 2,230,033 Personal 1,024,298 479 796 3 230 1,025,806 Total $ 21,308,989 $ 53,350 24,245 $ 106,899 $ 163,247 $ 21,656,730 A summary of loans currently performing, loans past due and accruing and nonaccrual loans as of December 31, 2017 is as follows (in thousands): Past Due Current 30 to 59 Days 60 to 89 Days 90 Days or More Nonaccrual Total Commercial: Energy $ 2,833,668 $ — 4,204 $ — $ 92,284 $ 2,930,156 Services 2,518,298 514 486 107 2,620 2,522,025 Wholesale/retail 1,468,284 398 — — 2,574 1,471,256 Manufacturing 490,739 — 73 — 5,962 496,774 Healthcare 2,213,504 15,218 — — 14,765 2,243,487 Public finance 541,775 — — — — 541,775 Other commercial and industrial 509,116 85 78 125 19,098 528,502 Total commercial 10,575,384 16,215 4,841 232 137,303 10,733,975 Commercial real estate: Residential construction and land development 115,213 200 — — 1,832 117,245 Retail 691,256 — — — 276 691,532 Office 831,118 254 — 123 275 831,770 Multifamily 979,625 22 370 — — 980,017 Industrial 573,014 — — — — 573,014 Other commercial real estate 285,937 — — — 472 286,409 Total commercial real estate 3,476,163 476 370 123 2,855 3,479,987 Residential mortgage: Permanent mortgage 1,014,588 3,435 219 — 25,193 1,043,435 Permanent mortgages guaranteed by U.S. government agencies 22 |