QuickLinks -- Click here to rapidly navigate through this document


Exhibit 5.1

[Letterhead of Stoel Rives LLP]

July 31, 2007

Huntsman Corporation
500 Huntsman Way
Salt Lake City, UT 84108

Ladies and Gentlemen:

        We have acted as counsel to Huntsman Corporation, a Delaware corporation (the "Company"), in connection with the registration statement on Form S-3 (the "Registration Statement") filed by the Company with the Securities and Exchange Commission (the "Commission") on the date hereof for the purpose of registering under the Securities Act of 1933, as amended (the "Securities Act"), an unspecified number of outstanding shares of the Company's common stock, par value $0.01 per share (the "Common Stock"), for resale by the selling stockholders (the "Selling Stockholders") named in the Registration Statement.

        In connection with the preparation of this opinion letter and as the basis for the opinion set forth below (the "Opinion"), we have examined and relied on originals or copies of such corporate records, certificates of officers of the Company and public officials and such other documents as we have deemed necessary for the purpose of rendering the Opinion.

        For purposes of this opinion letter, "DGCL" means and is limited to the present published General Corporation Law of the State of Delaware as contained in the publication The Delaware Law of Corporations & Business Organizations (Aspen Publishers, Inc.) (2007), the applicable provisions of the Delaware constitution and the present published judicial decisions interpreting the General Corporation Law of the State of Delaware.

        Based upon the examination described above, subject to the assumptions, qualifications, limitations and exceptions set forth in this opinion letter and under current interpretations of the DGCL, we are of the opinion that the Common Stock which may be sold by the Selling Stockholders is legally issued, fully paid and nonassessable.

        The foregoing Opinion is predicated upon and is limited by the matters set forth herein and is further subject to the qualifications, exceptions, assumptions and limitations set forth below:

        We hereby consent to the filing of this opinion letter as an exhibit to the Registration Statement and further consent to the reference to our name under the caption "Legal Matters" in the prospectus


which is a part of the Registration Statement. In giving this consent, we do not thereby admit that we are included in the category of persons whose consent is required under Section 7 of the Securities Act or the rules and regulations promulgated thereunder.


 

 

Respectfully submitted,

 

 

/s/ STOEL RIVES LLP

2




QuickLinks