Attached files

file filename
EX-32.2 - EX-32.2 - VIRTUSA CORPa2232232zex-32_2.htm
EX-32.1 - EX-32.1 - VIRTUSA CORPa2232232zex-32_1.htm
EX-31.2 - EX-31.2 - VIRTUSA CORPa2232232zex-31_2.htm
EX-31.1 - EX-31.1 - VIRTUSA CORPa2232232zex-31_1.htm
EX-21.1 - EX-21.1 - VIRTUSA CORPa2232232zex-21_1.htm
10-K - 10-K - VIRTUSA CORPa2232232z10-k.htm

QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

The Board of Directors
Virtusa Corporation:

        We consent to the incorporation by reference in the registration statements (Nos. 333-207818, 333-204338, 333-196218, 333-188908, 333-179330, 333-170792, 333-160981, and 333-145636) on Form S-8 and (No. 333-184533) on Form S-3 of Virtusa Corporation of our reports dated May 26, 2017, with respect to the consolidated balance sheets of Virtusa Corporation and subsidiaries as of March 31, 2017 and 2016, and the related consolidated statements of income, comprehensive income, stockholders' equity, and cash flows for each of the years in the three-year period ended March 31, 2017, and the related financial statement schedule, and the effectiveness of internal control over financial reporting as of March 31, 2017, which reports appear in the March 31, 2017 annual report on Form 10-K of Virtusa Corporation.

/s/ KPMG LLP

Boston, Massachusetts
May 26, 2017

1




QuickLinks

Consent of Independent Registered Public Accounting Firm