EXHIBIT 5 OPINION OF COUNSEL HARRIS BEACH LLP 99 Garnsey Road Pittsford, New York 14534 August 14, 2003 Tompkins Trustco, Inc. The Commons, P.O. Box 460 Ithaca, New York 14851 Ladies and Gentlemen: We have acted as counsel to Tompkins Trustco, Inc., a New York corporation (the "Company"), in connection with the filing of the Company's registration statement on Form S-8 with the Securities and Exchange Commission (the "Commission") on August 15, 2003 (the "Registration Statement"), under the Securities Act of 1933, as amended. The Registration Statement is being filed in connection with the Company's offering of up to 500,000 additional shares of Common Stock (the "Shares") pursuant to the Company's 2001 Stock Option Plan (the "Plan"), such that the Company is authorized to issue up to an aggregate of 885,000 shares of Common Stock pursuant to the Plan (as adjusted to reflect a 10% stock dividend declared by the Company's Board of Directors on July 23, 2003 and payable on August 15, 2003). The Registration Statement incorporates by reference the contents of the Company's registration statement on Form S-8 (File No. 333-75822), filed with the Commission on December 21, 2001. We are familiar with the proceedings to date with respect to such offering and have examined such records, documents and matters of law and satisfied ourselves as to such matters of fact as we have considered relevant for purposes of this opinion. For purposes of this opinion, we have assumed the authenticity of all documents submitted to us as originals and the conformity to the originals of all documents submitted to us as copies. We have also assumed the genuineness of the signatures of persons signing all documents in connection with which this opinion is rendered, the authority of such persons signing on behalf of the parties thereto, and the due authorization, execution and delivery of all documents by the parties thereto. We are of the opinion that, when the Shares shall have been issued and sold on the terms contemplated by the Plan, and the Registration Statement shall have become effective, the Shares will be legally issued, fully paid and non-assessable. This opinion shall be limited to the New York Business Corporation Law and the federal securities laws of the United States of America. We hereby consent to the use of this opinion as an exhibit to the Registration Statement. This opinion speaks only as of the date hereof and is limited to statutes, laws and regulations presently in effect and to the facts as they currently exist. Very truly yours, /s/ Harris Beach LLP -------------------- HARRIS BEACH LLP 6