EXHIBIT 23.1 CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM We consent to the incorporation by reference in this Registration Statement on Form S-8 pertaining to the 2005 Stock Compensation Plan of Swift Energy Company of our reports dated February 27, 2006, with respect to the consolidated financial statements of Swift Energy Company and subsidiaries included in Swift Energy Company's Annual Report (Form 10-K) for the year ended December 31, 2005, Swift Energy Company management's assessment of the effectiveness of internal control over financial reporting, and the effectiveness of internal control over financial reporting of Swift Energy Company and subsidiaries, filed with the Securities and Exchange Commission. /s/ Ernst & Young LLP Houston, Texas June 6, 2006