EX-5.1 2 a2167624zex-5_1.htm EXHIBIT 5.1
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 5.1

[Letterhead of Simpson Thacher & Bartlett LLP]

February 16, 2006

Walter Industries, Inc.
4211 W. Boy Scout Boulevard
Tampa, FL 33607

Ladies and Gentlemen:

        We have acted as counsel to Walter Industries, Inc., 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") under the Securities Act of 1933, as amended (the "Securities Act"), relating to shares of common stock of the Company, par value $0.01 per share (the "Common Stock").

        The shares of Common Stock may be issued and sold or delivered from time to time as set forth in the Registration Statement, any amendment thereto, the prospectus contained therein (the "Prospectus") and supplements to the Prospectus (the "Prospectus Supplements") and pursuant to Rule 415 under the Securities Act.

        We have examined the Registration Statement and a form of the share certificate, which has been filed with the Commission as an exhibit to the Registration Statement. We also have examined the originals, or duplicates or certified or conformed copies, of such corporate records, agreements, documents and other instruments and have made such other investigations as we have deemed relevant and necessary in connection with the opinions hereinafter set forth. As to questions of fact material to this opinion, we have relied upon certificates or comparable documents of public officials and of officers and representatives of the Company.

        In rendering the opinion set forth below, we have assumed the genuineness of all signatures, the legal capacity of natural persons, the authenticity of all documents submitted to us as originals, the conformity to original documents of all documents submitted to us as duplicates or certified or conformed copies and the authenticity of the originals of such latter documents.

        Based upon the foregoing, and subject to the qualifications, assumptions and limitations stated herein, we are of the opinion that assuming (a) the taking by the Board of Directors of the Company of all necessary corporate action to authorize and approve the issuance of the Common Stock and (b) due issuance and delivery of the Common Stock, upon payment therefor in accordance with the applicable definitive underwriting agreement approved by the Board of Directors of the Company, the Common Stock will be validly issued, fully paid and nonassessable.

        We do not express any opinion herein concerning any law other than the federal law of the United States and the Delaware General Corporation Law (including the statutory provisions, all applicable provisions of the Delaware Constitution and reported judicial decisions interpreting the foregoing).

        We hereby consent to the filing of this opinion letter as Exhibit 5 to the Registration Statement and to the use of our name under the caption "Validity of the Shares" in the Prospectus included in the Registration Statement.

  Very truly yours,

 

/s/ Simpson Thacher & Bartlett LLP

 

SIMPSON THACHER & BARTLETT LLP



QuickLinks