EX-5.1 6 a2230963zex-5_1.htm EX-5.1
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 5.1

Consent of Independent Registered Public Accounting Firm

The Board of Directors TransCanada PipeLines Limited

        We consent to the use of our audit report dated February 15, 2017, on the financial statements of TransCanada PipeLines Limited, which comprise the consolidated balance sheets as at December 31, 2016 and December 31, 2015, the consolidated statements of income, comprehensive income, cash flows and equity for each of the years in the three-year period ended December 31, 2016, and notes, comprising a summary of significant accounting policies and other explanatory information, which are incorporated by reference herein and to the reference to our firm under the heading "Experts" in the prospectus.

/s/ KPMG LLP

Chartered Professional Accountants

February 24, 2017
Calgary, Canada




QuickLinks

Consent of Independent Registered Public Accounting Firm