Choose a planting spot next to the wall where the lettuce will receive the most possible sunlight, although lettuce can grow with less than six hours of daily sunlight. A south-facing wall is ideal.
Prepare soil by incorporating compost or other organic matter with a spade or shovel. Soil should be loose and well-draining but does not need to be worked very deeply, as lettuce roots are generally quite shallow. A soil pH of 6.5 to 7.0 helps lettuce thrive.
Plant seeds 1/4 to 1/2 inch deep. Scatter or plant in rows, then thin to 8 inches apart for loose-leaf lettuce or 8 to 12 inches apart for iceberg and romaine varieties. Do not plant too close to the wall; allow 4 or more inches for leaves to develop. Do not plant too deeply as seeds need light exposure to germinate. Germination occurs best when soil is cool, between 40 and 60 F, and should occur in one to two weeks. Above 68 F, germination results are diminished; temperatures of 75 F or greater cause seeds to go dormant.
Provide moderate water to keep soil moist. If the planting location is heavily shaded, use care to avoid over-watering, which can lead to disease. Avoid soil with poor drainage.