Exhibit 31.2

CERTIFICATION OF CHIEF FINANCIAL OFFICER

PURSUANT TO RULE 13a – 14(a) AND 15d – 14(a)

OF §302 OF THE SARBANES-OXLEY ACT OF 2002

I, Sameer Parasnis, certify that:

1.I have reviewed this Quarterly Report on Form 10-Q of W&T Offshore, Inc. (the “registrant”);
2.Based on my knowledge, this report does not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements mad