s6y SMTC Corp S-8

SMTC Corp S-8, filed May 25, 2010: Opinion of Ropes & Gray LLP

Exhibit 5.1

[ROPES & GRAY LLP LETTERHEAD]

May 25, 2010

SMTC Corporation

635 Hood Road

Markham, Ontario

Canada L3R 4N6

Ladies and Gentlemen:

This opinion is furnished to you in connection with a registration statement on Form S-8 (the “Registration Statement”), filed with the Securities and Exchange Commission under the Securities Act of 1933, as amended, for the registration of an aggregate of 1,547,509 shares of Common Stock, $0.01 par value (the “Shares”), of SMTC Corporation, a Delaware corporation (the “Company”), issuable under the SMTC Corporation/SMTC Manufacturing Corporation of Canada 2000 Equity Incentive Plan, as amended (the “Plan”).

We are familiar with the actions taken by the Company in connection with the adoption of the Plan. For purposes of our opinion, we have examined and relied upon such documents, records, certificates and other instruments as we have deemed necessary. The opinions expressed below are limited to the Delaware General Corporation Law, including the applicable provisions of the Delaware Constitution and the reported cases interpreting those laws.

Based on the foregoing, we are of the opinion that the Shares have been duly authorized and, when the Shares have been issued and sold in accordance with the terms of the Plan, the Shares will be validly issued, fully paid and nonassessable.

We hereby consent to the filing of this opinion as an exhibit to the Registration Statement. Our consent shall not be deemed an admission that we are experts whose consent is required under Section 7 of the Securities Act of 1933.

It is understood that this opinion is to be used only in connection with the offer and sale of Shares while the Registration Statement is in effect.

Very truly yours,

/s/ Ropes & Gray LLP

Ropes & Gray LLP