• Casetasdejardin24.es | Logo | Log Cabins and Wooden Garden Buildings in Spain
  • How to Prepare the Ground for a Garden Shed in 8 Steps

    Proper ground preparation is the difference between a garden shed that lasts two years and one that stands proud for twenty—yet it remains the step most people rush. Getting it right is straightforward if you take it step by step: choose a high, dry spot, mark out the footprint, clear the turf and roots, excavate, level the site, compact a crushed stone sub-base, and lay down a weed membrane.

    Why Ground Preparation Matters for a Garden Shed

    Stability

    A garden shed needs firm, well-compacted ground. If the underlying soil is soft or loose, it will settle unevenly, causing the building to sink, lean, and warp. Over time, doors begin to stick, windows jam in their frames, and the floor develops a noticeable slope underfoot.

    Drainage

    Water pooling beneath floorboards keeps structural timber chronically wet. According to the USDA Forest Service, wood-decay fungi cannot establish below a 20% moisture content, with 20% to 30% representing an uncertain risk threshold. Trapped damp also fosters mould and mildew, while freeze-thaw cycles in winter can heave and shift the entire structure. On top of that, damp, dark voids under a shed create an open invitation for pests like slugs, ants, woodlice, and rodents.

    Longevity

    High-quality timber outbuildings can easily last for decades, but only when built on a solid, dry foundation. Proper site preparation dramatically reduces the threat of rot and structural movement. If you are investing the time to lay a rock-solid foundation, pair it with a shed engineered to make the most of it.

    Looking for a shed worthy of that solid base?

    Our garden buildings are crafted from premium Nordic spruce and feature double-glazed windows as standard. As manufacturers, we provide exact base plans for every model so you can get your ground preparation right the first time.

    🏠 Explore garden sheds

    Manufacturer with over 20 years of experience and a 5-year warranty.

    What to Check Before Preparing the Ground

    • Access: If you plan to store bicycles, ride-on mowers, or bulky garden equipment, ensure you have a wide, clear access route that won’t become a slippery mud track in wet weather.
    • Utilities: If you intend to run mains electricity, water, or an internet cable out to your shed, trench your conduits before laying the base. Retrofitting utilities later is significantly more disruptive and expensive.
    • Permits and Regulations: Planning rules vary by municipality and region. In Spain, for instance, Gijón classifies tool sheds up to 8 m² on rural land as minor building works subject to a 4 m boundary setback, whereas Busot governs prefabricated cabins under 15 m² on urban land through distinct procedures. Review the regulations for installing a timber building and check with your local planning authority before breaking ground.
    • Natural Drainage: Observe your garden after heavy downpours. If water pools in a certain spot for days, avoid that area or plan for dedicated drainage channels.
    • Soil Type: Clay soils swell and shrink, sandy soils shift easily, and organic topsoil compresses under sustained loads. Broad geological maps (such as the IGME expansive clay risk map in Spain) provide useful regional context, but their high-level scale (1:1,000,000) cannot evaluate individual garden plots. If you suspect heavy clay, dig a small test pit after rainfall to see if the base becomes sticky and waterlogged.
    • Local Climate: In exposed, windy, or coastal environments, your shed will need firm ground anchors. In wetter regions, adequate drainage should be your top priority. Where ground frost is common, pay careful attention to sub-base depth and soil compaction to counter frost heave.

    Step-by-Step Guide to Ground Preparation

    Weed membrane laid over prepared ground

    1. Choose the Right Location

    Pick the flattest available site in your garden, clear of overhanging branches, low hollows, and damp pockets. Ensure there is ample clearance around the perimeter to walk comfortably, open doors fully, and carry out periodic maintenance. Never build right up against boundary fences or garden walls.

    2. Measure and Mark the Area

    Drive wooden stakes into the ground and run builder’s line to outline the perimeter, adding an extra 5 to 10 cm on every side. To ensure perfectly square 90-degree corners, apply the 3-4-5 rule: measure 3 m along one side and 4 m down the adjacent side; the diagonal between those two points should measure exactly 5 m. Once squared, measure both full diagonals across the rectangle—they should match down to the millimetre. If your shed includes a manufacturer’s base plan, adhere strictly to those dimensions.

    3. Clear Vegetation and Roots

    Strip away all turf, surface weeds, and tree roots that might disrupt the sub-base over time. Clear an additional 30–40 cm beyond your marked perimeter to provide comfortable working space and accommodate perimeter drainage.

    4. Excavate

    Dig out the turf and topsoil across the marked area to an even depth of 50 to 75 mm. This removes the soft organic layer that would otherwise decompose and cause settlement. If you plan to lay a full concrete slab or a heavy-duty sub-base, dig deeper—typically 10 to 15 cm.

    5. Level (and Level Again)

    Rake the exposed earth flat and check the grade in every direction using a long straightedge and a spirit level. Any dips or humps in the subgrade will transfer directly to the base and timber frame above. For timber garden buildings, keep total surface deviation within a strict tolerance of ±5 mm across the entire footprint.

    6. Add the Sub-base

    Levelled gravel and sand sub-base

    Fill the excavation with well-graded crushed stone aggregate (such as 0/20 mm or 0/25 mm crusher run / MOT Type 1) in 5 to 7 cm lifts, compacting each layer thoroughly before adding the next. Finish with a thin blinding layer of coarse sand to create an even, workable surface. If you intend to pour a concrete slab, industry standards generally recommend a 75–100 mm concrete pour over roughly 75 mm of compacted hardcore.

    7. Compact Thoroughly

    Work over the entire area with a heavy hand tamper or a hired vibrating plate compactor. The completed sub-base should feel rock-solid underfoot, with no loose patches or deflection when walked on.

    8. Lay Weed Membrane

    Roll out a heavy-duty geotextile weed membrane over the compacted base. This suppresses weed growth beneath the shed while keeping your stone sub-base separate from the underlying soil. Ensure adjacent sheets overlap generously at the joints.

    Worked Example: A 3 × 3 m Shed

    Allowing a 5 cm working margin on all sides, mark out a footprint measuring 3.1 × 3.1 m. Excavating to a depth of 10 cm generates roughly 0.96 m³ of spoil and will require a similar volume of compacted sub-base material. To protect against splashing rainwater and rising damp, ensure the finished base sits at least 15 cm above the surrounding ground level. For advice on finishing the foundation, explore our guide to building a garden shed base.

    How to Prepare Uneven or Sloping Ground

    Levelling sloping ground for a shed base

    Measuring the Slope

    Rest a long, straight timber board across the slope, starting at the highest ground point. Place a spirit level on top, lift the downhill end until the bubble centres, and measure the distance between the bottom of the board and the ground. Across a 3-metre board, a 9 cm gap equates to a 3% slope, while a 15 cm gap represents a 5% slope.

    Digging Out, Building Up, or Combining Both

    • Digging out suits gentle inclines (0–3%) on firm, free-draining soil by carving directly into the high side of the bank.
    • Building up with compacted hardcore creates a raised, well-draining pad—ideal for heavy, waterlogged clay soil where moisture tends to pool.
    • Cut-and-fill levelling redistributes earth from the high side to the low side, backed by retaining borders, eliminating the need for deep excavation.

    On slopes exceeding 5%, an elevated foundation is almost always more practical and cost-effective than extensive earthworks. Consider using adjustable riser pedestals, ground screws, or a timber post-and-beam system. Adjustable pedestals can easily absorb ground variances of up to 20 cm. For full walkthroughs, consult our guides on building a shed base on uneven ground and laying a shed base over grass. Once you have resolved the grade, prepare the ground beneath using the standard aggregate method outlined above.

    Planning something larger than a standard shed?

    Log cabins with 70 mm wall thickness require a solid concrete slab or an engineered elevated foundation to bear their weight. If you are building a workshop, home office, or garden studio, explore our large log cabin models with double-glazed windows.

    🏠 Explore large log cabins

    Free delivery and a 5-year warranty on all models.

    Mistakes to Avoid

    • Building right against boundary fences: This cuts off airflow, traps moisture against the cladding, makes future maintenance impossible, and could violate local setback rules or strain relations with neighbours.
    • Choosing low-lying hollows: Surface water naturally collects in low spots, keeping bearer timbers wet and accelerating rot. Always favour higher ground or build a raised pad.
    • Rushing the levelling process: Even tiny deviations cause wall logs to twist, door frames to skew, and corner joints to open up over time.
    • Skipping the perimeter margin: Preparing only the exact building footprint leaves no room for perimeter gravel drainage, border edging, or safe ladder positioning.
    • Neglecting edge restraints: Without sturdy timber gravel boards or stone edging, loose aggregate will wash out over time, compromising the base perimeter.
    • Ignoring local frost depth: In regions with freezing winters, poorly compacted or waterlogged ground will suffer frost heave, shifting and distorting the building above.
    • Assembling directly on turf or bare soil: Grass decomposes rapidly, traps moisture against structural bearers, and causes serious, uneven subsidence.

    A Firm, Level, and Dry Base Is the Foundation for Success

    Ground preparation might not be the most glamorous part of building a garden shed, but it is unequivocally the most critical. When the site is solid, flat, and well-drained, the shed goes together smoothly, lines up squarely, and stands strong for decades. If your garden has steep gradients or expansive clay, or if you are planning an exceptionally large building, speak to a local groundwork contractor or structural engineer before digging.

    Frequently Asked Questions

    Do I still need to prepare the ground if I booked an assembly service?

    Yes, in almost every scenario. Installation teams expect a completely flat, clear, and prepared site ready for immediate construction. Their job is to erect the building itself; they do not clear turf, dig out soil, or resolve drainage issues unless dedicated groundwork was formally quoted and contracted in advance. Always clarify site requirements before delivery day.

    Can I put a garden shed directly onto levelled dirt?

    No. Even when levelled, bare dirt remains soft and naturally pulls ground moisture up into structural timbers. A shed requires an engineered sub-base or foundation system to distribute the structural load and isolate timber bearers from damp soil.

    How far from a boundary fence should a shed be built?

    Minimum boundary setbacks depend on local planning laws and municipal bylaws, so check with your local planning department first. In practical terms, leave a clearance of at least 50 to 100 cm between your shed and any fence or wall. This ensures healthy airflow, leaves room to apply timber treatments, and makes roof maintenance manageable.

    Sources

    1. Limiting conditions for decay in wood systems – USDA Forest Service
    2. Mapa previsor de riesgo por expansividad de arcillas de España – IGME
    3. Obra menor – Ayuntamiento de Gijón
    4. Sede electrónica – Ayuntamiento de Busot
    5. Zahorras – Molins
    6. Shed Foundation Options Explained – Total Sheds
    back to top