Purchase rocks that do not contain iron, if possible. If you have not purchased rocks for your outside garden or landscaping, make sure to buy rocks without iron. Ask a salesperson at your local garden store for iron-free rocks.
Place your rocks undercover in your yard, if at all possible. Water is a big cause of rust, so try to keep your rocks as dry as possible. Wipe them off, if they have been wet for a few days. If you have iron in your water, try to avoid your rocks when watering your garden.
Clean your rocks completely, if rust has occurred, by spraying them with a garden hose or soaking them in a tub. Then, use sandpaper or a stiff brush to remove any rust that has already built up.
Paint your rocks with an acrylic paint after they have dried completely. Use a clear acrylic paint to protect your rocks. Specifically designed products such as Rust-Oleum, Safe Guard, and Rust Seal are available to help prevent rust. Do not use aqueous-based paints, as they contain water and will contribute to rusting.
Coat your rocks with grease or oil. The grease forms a protective barrier around the rocks, like paint, and will prevent rusting. You can buy grease or oil from most auto supply stores or online.