EX-5.1 4 a2065182zex-5_1.htm EXHIBIT 5.1 Prepared by MERRILL CORPORATION
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 5.1

December 14, 2001

First Community Bancorp,
2310 Camino Vida Roble, Suite B,
Carlsbad, California 92009.

Ladies and Gentlemen:

    In connection with the registration under the Securities Act of 1933 (the "Act") of subscription rights and additional shares of Common Stock (the "Securities"), without par value, of First Community Bancorp, a California corporation (the "Company"), we, as your counsel, have examined such corporate records, certificates and other documents, and such questions of law, as we have considered necessary or appropriate for the purposes of this opinion. Upon the basis of such examination, we advise you that, in our opinion, when the registration statement relating to the Securities (the "Registration Statement") has become effective under the Act, the terms of the sale of the Securities have been duly established in conformity with the Company's articles of incorporation, and the Securities have been duly issued and sold as contemplated by the Registration Statement, the Securities will be validly issued, fully paid and non-assessable.

    The foregoing opinion is limited to the Federal laws of the United States and the laws of the State of California and we are expressing no opinion as to the effect of the laws of any other jurisdiction.

    We have relied as to certain matters on information obtained from public officials, officers of the Company and other sources believed by us to be responsible.

    We hereby consent to the filing of this opinion as an exhibit to the Registration Statement and to the reference to us under the heading "Validity of Securities" in the Prospectus. In giving such consent, we do not thereby admit that we are in the category of persons whose consent is required under Section 7 of the Act.

                        Very truly yours,
                        /s/ Sullivan & Cromwell




QuickLinks