Exhibit 5.1

Teekay Tankers Ltd.
4th Floor, Belvedere Building
69 Pitts Bay Road
Hamilton, HM 08
Bermuda
March 21, 2018
Registration Statement on FormS-8
Dear Ladies and Gentlemen:
We have acted as special counsel as to matters of the law of the Republic of the Marshall Islands (“Marshall Islands Law”) for Teekay Tankers Ltd., a Marshall Islands corporation (the “Company”), in connection with the preparation and filing with the Securities and Exchange Commission (the “Commission”), pursuant to the Securities Act of 1933, as amended (the “Securities Act”), and the rules and regulations promulgated thereunder (collectively, the “Rules”), of a registration statement on FormS-8 (such registration statement and any amendments or supplements thereto are referred to collectively as the “Registration Statement”) for the registration of 6,000,000 shares (the “Shares”) of the Company’s class A common stock, par value $0.01 per share, that may be issued pursuant to the Company’s 2007 Long-Term Incentive Plan (as amended to the date hereof, the “Plan”).
As counsel, we have examined originals or copies (certified or otherwise identified to our satisfaction) of the following documents:
(i) | the amended and restated articles of incorporation and the [second] amended and restated bylaws of the Company, each as amended to date (the “Organizational Documents”); |
(ii) | the Registration Statement; |
