Exhibit 5.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in this Amendment No. 1 to the Registration StatementNo. 333-227855 on FormF-10 of our reports dated February 27, 2018, relating to the consolidated financial statements of First Majestic Silver Corp. and subsidiaries (“First Majestic”) and the effectiveness of First Majestic’s internal control over financial reporting appearing in the Annual Report on Form40-F of First Majestic for the year ended December 31, 2017 and the reference to us under the heading “Interests of Experts” in the Prospectus, which is part of this Amendment No. 1 to the Registration Statement.
/s/ Deloitte LLP
Chartered Professional Accountants
Vancouver, Canada
November 5, 2018