Attached files

file filename
10-K - 10-K - CARDINAL FINANCIAL CORPa2197154z10-k.htm
EX-21 - EXHIBIT 21 - CARDINAL FINANCIAL CORPa2197154zex-21.htm
EX-32.1 - EXHIBIT 32.1 - CARDINAL FINANCIAL CORPa2197154zex-32_1.htm
EX-32.2 - EXHIBIT 32.2 - CARDINAL FINANCIAL CORPa2197154zex-32_2.htm
EX-31.1 - EXHIBIT 31.1 - CARDINAL FINANCIAL CORPa2197154zex-31_1.htm
EX-31.2 - EXHIBIT 31.2 - CARDINAL FINANCIAL CORPa2197154zex-31_2.htm

QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23

Consent of Independent Registered Public Accounting Firm

The Board of Directors
Cardinal Financial Corporation:

        We consent to the incorporation by reference in the registration statement No. 333-157183 on Form S-3 and the registration statements (Nos. 333-106694, 333-111672, 333-111673, 333-127395, 333-134923 and 333-134934) on Form S-8 of Cardinal Financial Corporation of our report dated March 15, 2010, with respect to the consolidated statements of condition of Cardinal Financial Corporation as of December 31, 2009 and 2008, and the related consolidated statements of income, comprehensive income, changes in shareholders' equity and cash flows for each of the years in the three-year period ended December 31, 2009, and the effectiveness of internal control over financial reporting as of December 31, 2009, which appears in the December 31, 2009 annual report on Form 10-K of Cardinal Financial Corporation.

KPMG LLP

McLean, Virginia
March 15, 2010




QuickLinks

Consent of Independent Registered Public Accounting Firm