Skip to content
Insider Realty, powered by AXEN Realty
Talk to ZarkoCall

Illustrative image

Selling Strategy

What Are Shafter's Oil and Gas Well Rules?

Buying near an oil or gas well in Shafter? See which zones allow drilling, the distance rules, and the City records to check before closing.

You’re considering a Shafter home near oil equipment, or a map shows a drilling-related district close to the property. The practical answer is that Shafter has its own zoning, permit, distance, screening, and operating rules, but the code alone does not tell you where wells are located or how a particular parcel is zoned.

The controlling city source is Shafter’s Development Code, Title 17, especially Chapter 9. Its stated purpose is to allow recovery of oil, gas, and other hydrocarbons with safeguards and controls.

This is general information, not legal advice. The PDF cover is marked “Updated 03/20/26,” but it may not reflect a later amendment. Ask the Planning Department for the current text and the records tied to the property or well.

Where can a well be drilled without a city permit?

As the City’s posted Development Code reads, listed oil and gas wells can be drilled without City review or a permit in the A, I, or DI districts and under the permitted-use provisions for the PE district.

Section 9.20 calls this unrestricted drilling. It covers steam injection wells, steam drive wells, service wells, and wells intended for the exploration, development, production, storage, transmission, or treatment of oil, gas, and other hydrocarbon substances. The section still imposes conditions. One says drilling cannot begin within 250 feet of an existing residence without the owner’s written consent.

The PE district has an additional rule in Section 3.50. A well is permitted there if it is more than 300 feet from an existing dwelling or an existing building used for commercial purposes. Premises used only for storage are excluded from that commercial-building provision.

In any other zone district, Section 9.30 requires an approved conditional use permit before drilling begins. An existing well does not establish that the surrounding parcel is zoned A, I, DI, or PE. Chapter 9 supplies no well inventory, parcel list, or map, so zoning and well location need separate confirmation from the City.

Which distance rules apply near a home?

Section 9.40 sets several drilling distances for structures and land uses that existed before drilling commenced, with closer drilling allowed when the owner gives written consent.

The listed distances are:

  • 100 feet from the right-of-way of a street or road
  • 200 feet from the right-of-way of a public highway, proposed public highway, Official Plan line, Specific Plan Line, or property line
  • 100 feet from a building that is not necessary to operating the well
  • 250 feet from a dwelling
  • 300 feet from a building used as a place of public assembly, institution, or school
  • 350 feet from a building used for commercial or industrial purposes

These provisions are tied to structures or land uses constructed before drilling began. The text does not say that the same distances govern a home built after a well already exists, and it does not address the specific case of a newly built home beside an older well.

For a separate Shafter guide, see Mission Lakes development agreement and new homes.

What changes when a well is within 500 feet?

When a well or related equipment is within 500 feet of a dwelling, Shafter’s code adds delivery, screening, and fencing requirements.

Except in an emergency, materials, equipment, tools, and pipe cannot be delivered to or removed from a drilling site within 500 feet of an existing dwelling unit outside the hours of 8:00 a.m. through 8:00 p.m. Section 9.40 recognizes an exception when the California Division of Oil, Gas and Geothermal Resources requires otherwise.

Tanks within 500 feet of a dwelling or commercial building must be screened from public view with shrubs or trees, or fenced. After a pump is installed, a fence at least six feet high must be installed around the pump site or drilling island when it is within 500 feet of a dwelling. The code describes chain link with wood or metal slats, while allowing other screening materials required by the Community Services Director.

Pumping wells must use electric motors or muffled internal combustion engines. Pumping units cannot exceed 35 feet in height.

What does conditional use review add?

Approval of a conditional use permit is required before drilling in a zone outside the districts covered by the permitted drilling rules, and the Planning Commission considers each application at a noticed public hearing.

The application is filed with the Planning Department. Under Section 9.50, its plot plan must show existing dwellings and buildings used for other purposes within 300 feet of the proposed well holes. It must identify each structure’s use and give the distances between the well holes and existing buildings.

The Planning Commission may waive a development standard or condition if it determines that doing so will cause no material detriment to public welfare or to the safety of people and property near the well.

A Shafter buyer found a well symbol near a parcel he was considering for a house. From the map alone, he couldn’t tell whether the well was on the property or across the boundary. We located the available well records and checked what the city would require before he settled on a building site.

If a producing or service well is not completed within 12 months after permit issuance, the permit expires and the premises must be restored as nearly as practicable to their original condition. Continuous drilling, redrilling, completion, or abandonment keeps the permit active, and a suspension of no more than 30 consecutive days still counts as continuous. The Commission can extend the permit after a written request from the permittee.

How do the DI and PE districts work?

The DI and PE districts handle drilling differently because DI is a dedicated district, while PE adds petroleum-extraction rules to certain base districts.

Section 3.40 describes the DI district as covering single lots and relatively small areas within final-map subdivisions and mobilehome parks that contain productive or potentially productive petroleum resources. Its uses are limited to oil and gas activity, related equipment, and compatible open-space or recreational uses.

A subdivision drainage sump can be permitted in DI as part of a tentative tract map application if mineral rights owners shown on County tax rolls receive written notice at least 10 days before City approval. For a separate Shafter guide, see the Tract 7052 tentative map extension.

The PE combining district applies only to land with an E, NC, GC, or BP base district. Its regulations operate in addition to the base district’s rules. The code text read for this guide does not address who owns mineral rights, apart from the 10-day written notice to mineral rights owners shown on County tax rolls for a subdivision drainage sump in a DI district.

What should you check before buying or selling?

You should confirm the parcel’s zoning, identify the well or proposed well, and request the City records that connect the site to Chapter 9.

Ask the Planning Department to verify whether the parcel or nearby land is in an A, I, DI, or PE district. If a conditional use permit applies, request the application, required plot plan, hearing decision, conditions, extensions, and any modification or revocation record. A Chapter 9 permit can be modified or revoked under Section 2.190, subject to the exception identified in Section 9.60.

For a completed or abandoned well, check the dates associated with cleanup. Drilling equipment generally must be removed within 90 days after production testing is completed or abandonment, and earthen sumps must be filled and the site restored as nearly as practicable to a uniform grade within 90 days after production begins or abandonment; temporary sumps have a 90-day deadline after clean-out work.

Section 9.40 also requires compliance with rules of the California Department of Oil, Gas and Geothermal Resources, Kern County Fire Department, Kern County Health Department, Regional Water Quality Control Board, and San Joaquin Valley Unified Air Pollution Control District, using the names printed in the code. Ask each agency for its own records.

For a separate Shafter guide, see front-yard parking and inoperative vehicle rules.

The short version

Shafter’s posted code allows certain wells without City review in specified districts, requires a conditional use permit elsewhere, and sets distance, operating, screening, equipment, and cleanup rules.

The key limit is what the text does not provide. It does not locate wells, identify DI or PE parcels, determine mineral rights ownership, or explain how its preexisting-structure distances apply to a new home beside an older well. Confirm the zoning and current code with the Planning Department, then review the permit and plot plan for the specific site.

For a separate estimate of the property, use the home value tool.

Common questions

Does an existing well mean a Shafter property is in a DI district?

No. The Development Code does not identify well locations or parcel zoning. Ask the Planning Department to confirm the zoning and check the City's zoning map.

Does Shafter's code determine who owns the mineral rights?

No. Chapter 9 does not determine mineral rights ownership or say that mineral rights transfer to a home buyer.

Can a well be drilled within 250 feet of a dwelling?

Section 9.40 prohibits drilling within 250 feet of a dwelling constructed before drilling begins unless the owner gives written consent.

Are deliveries restricted near a dwelling?

When a well is within 500 feet of an existing dwelling unit, Section 9.40 generally limits deliveries and removals to 8:00 a.m. through 8:00 p.m.

Request the Shafter File

Curated insights, local updates and the guides the Insider desk can share with you.

Private request. No automatic email is sent.