Skip to main content
CityRuleLookup

York County, SC Fence Regulations: Retaining Walls (2026)

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified September 2026

Key Facts

Under 4 ft
0 ft setback (minor accessory use)
4 ft or taller
3 ft minimum from lot line
Governing tables
§§ 155.622-1, 155.1290-1
Coverage
Unincorporated York County only
Penalty
Up to $500/day, § 155.9999

Summary

York County treats a retaining wall under four feet tall as a minor accessory structure that can sit right on the property line, but a wall four feet or taller must stay at least 3 feet from the lot line under the § 155.1290 encroachment table, on top of whatever the zoning district's base setback otherwise requires.

City-specific rules exist: Rock Hill has its own retaining walls rules that differ from York County's county-level regulations. If you live in Rock Hill, check the city-specific page instead.

§ 155.622(A)(2)(b) Minor accessory uses and structures. Minor accessory uses and structures include uses and structures that are not unique to a particular land use, including utility poles; mailboxes; flagpoles; fences; landscape features; fruit, vegetable, and ornamental gardens; driveways; parking areas; and retaining walls less than four feet in height. § 155.1290 ENCROACHMENTS. Table 155.1290-1: Allowed Encroachments into Required Yards and Setbacks. Minor accessory uses and structures - Any yard - No max - 0 ft. Retaining walls four feet in height and greater - Any yard - -- - 3 ft.

Source: South Carolina Code of LawsView official code

Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: 2026 S-49: Supplement contains: Local legislation current through Ord. 3925, passed 6-16-25).

Full Breakdown

622(A)(2)(b) classifies 'retaining walls less than four feet in height' as a minor accessory use, grouped with fences, mailboxes, flagpoles and driveways. 622-1 gives every minor accessory use and structure a 0-foot setback on all sides, so a short retaining wall can be built directly on the lot line. 622-1 would otherwise hold it to the same setback the zoning district requires of the principal structure. 1290-1, which lists allowed encroachments into required yards and setbacks, specifically carves out a narrower standard for these taller walls: 'Retaining walls four feet in height and greater...

Any yard... 3 ft' minimum setback from the lot line, letting the wall come closer to the property line than the full district setback would otherwise permit. The same encroachment table confirms minor accessory uses and structures, including sub-four-foot walls, face 'No max' limit on encroachment and a '0 ft' minimum setback. 2 (Base District Dimensional Standards), the same subpart that sets the underlying district setbacks these tables modify.

Violations & Fines

Building a retaining wall four feet or taller closer than the 3-foot minimum lot-line setback in Table 155.1290-1, or otherwise outside the applicable setback, is a misdemeanor under § 155.9999, punishable by a fine of up to $500 per day per violation, with the Planning and Development Services Director able to order the wall relocated or removed.

Frequently Asked Questions

Can I build a low retaining wall right on my property line?
Yes. Table 155.622-1 sets a 0-foot setback for minor accessory uses and structures, and § 155.622(A)(2)(b) classifies any retaining wall under four feet tall as a minor accessory use, so it can sit directly on the lot line.
How close can a tall retaining wall be to my neighbor's line?
At least 3 feet. Table 155.1290-1's encroachment allowance for 'retaining walls four feet in height and greater' sets a 3-foot minimum setback from the lot line, closer than the full district setback that would otherwise apply to a structure that size.
Does a taller wall have to match my house's building setback?
Not exactly. Table 155.622-1 would otherwise hold a wall over four feet to the same setback as a principal structure, but the § 155.1290 encroachment table specifically lets that height of retaining wall come as close as 3 feet from the lot line instead.
Does this apply to a wall behind my Rock Hill or Fort Mill house?
No. This is the unincorporated York County zoning ordinance. Rock Hill, Fort Mill, Tega Cay, Clover and the City of York are separately incorporated and set their own retaining wall standards.

Sources & Official References

Other rules in York County

All York County rules

Compare York County to another location·View the South Carolina fence regulations overview

Get notified when Retaining Walls in York County, SC changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.

Retaining Walls in Cities Across York County