Climate and average weather in Shafter

In Shafter, the summers are sweltering, dry, and clear and the winters are mild and mostly clear.

Best: mid March to late May

Over the course of the year, the temperature in Shafter typically varies from 42°F to 97°F, and is rarely below 34°F or above 104°F. July is the hottest month of the year, while December is the coldest.

Based on the travel score, the best times of year to visit Shafter for warm-weather activities are from mid March to late May and early October to late November.

Hottest
Jul
97°
Coldest
Dec
42°
Wettest
Feb
1.8 in
Driest
Aug
0.0 in
Rain / yr
9.5 in
38 wet days
Daylight
9.6–14.4 h
shortest–longest
Elevation
348 ft
35.5°N
Clearest
Aug
10% cloud

Shafter is city in Kern County, California, United States.

Density
253/km²
people per km²
Founded
1938

Air quality: WHO Ambient Air Quality Database. Density & description: Wikidata (CC0), GeoNames.

Shafter weather by month, at a glance

The whole year in one picture — sky, rain, humidity, temperature and travel score. Click any band to jump to its full chart.

Each stripe is one measure across the whole year, stacked so a single day reads top to bottom. The sky band runs overcast grey on top down to clear blue at the base — more blue means sunnier — followed by the rainfall curve, the humidity band, a temperature strip that tints each stretch of the year by how warm its average high is, and the travel-score line at the foot. Scan straight down any date to read that day across every measure at once; the score climbs highest around mid March to late May.

Temperature through the year

Average highAverage lowShaded bands: 10–90% of days

Daily average highs and lows in Shafter, from 1991–2020 of climate data. The shaded bands show the range most days fall in — 10th to 90th percentile.

The hot season lasts 3.7 months, from June 4 to September 23, with daily high temperatures above 88°F. The hottest month of the year in Shafter is July, with an average high of 97°F and low of 72°F.

The cool season lasts 3.6 months, from November 17 to March 5, with daily high temperatures below 66°F. The coldest month of the year in Shafter is December, with an average low of 42°F and high of 60°F.

Days typically run about 21°F warmer than nights, with the widest day–night swing (around 25°F) in July.

40°60°80°100°JanFebMarAprMayJunJulAugSepOctNovDec
Avg high (°F)Avg low (°F)
Jan6043
Feb6446
Mar6949
Apr7553
May8360
Jun9166
Jul9772
Aug9671
Sep9066
Oct7958
Nov6748
Dec6042

How hot and cold Shafter really feels

Feels-like highFeels-like lowactual air temp

The felt-temperature range through the year — heat index on the day's high (summer humidity), wind chill on the night's low (winter wind). The dashed lines are the plain thermometer; the gap is how much hotter or colder it really feels.

On the hottest afternoons, once humidity is folded in, Shafter feels like about 98°F (around July 23). About 100 days a year carry some heat stress, peaking in July.

40°60°80°100°JanFebMarAprMayJunJulAugSepOctNovDec
Feels-like high (°F)Air high (°F)Feels-like low (°F)Air low (°F)
Jan60604143
Feb64644446
Mar69694949
Apr75755353
May83836060
Jun91916666
Jul97977272
Aug96967171
Sep90906666
Oct79795858
Nov67674848
Dec60604142

Average hourly temperature in Shafter

A compact picture of the whole year, hour by hour: each column is a day, each row an hour, and the color is the modeled average temperature. Darker overlays mark night, lighter ones the civil-twilight hours around sunrise and sunset.

Read left to right for the day of the year and top to bottom for the hour of the day; the color is the modeled temperature, cool blues through to hot reds on the same scale as the other charts. A vertical slice is a single day's swing — coolest just before dawn, warmest in the mid-afternoon — while a horizontal slice follows one hour across the seasons. The darker overlay marks night and the lighter one the twilight around sunrise and sunset. Colors run warmest on July afternoons, near 97°F, and coldest before dawn in December, near 42°F.

JanFebMarAprMayJunJulAugSepOctNovDec12 AM2 AM4 AM6 AM8 AM10 AM12 PM2 PM4 PM6 PM8 PM10 PM12 AM

Shafter weather by month

Every month at a glance. Click a month for its detailed page.

MonthHigh / Low (°F)Rainfall (inches)Wet daysDaylight (hours)Travel score
Jan60° / 43°1.86.69.95.4
Feb64° / 46°1.87.110.76.2
Mar69° / 49°1.75.911.77.2
Apr75° / 53°0.93.812.98.2
May83° / 60°0.4213.87.4
Jun91° / 66°0.10.514.44.8
Jul97° / 72°0.00.314.22.6
Aug96° / 71°0.00.213.32.9
Sep90° / 66°0.00.412.25.3
Oct79° / 58°0.4211.18.4
Nov67° / 48°0.83.710.17.5
Dec60° / 42°1.55.79.65.4

Chance of rain

How likely it is to rain on a typical day, and how that shifts across the wetter and drier seasons.

Shafter gets about 9.5 in of precipitation a year. On a typical day the chance of rain is mostly dry, but that rises and falls sharply with the seasons.

The wetter season lasts 5.7 months, from around Nov 6 to Apr 26, peaking in February at about 28% chance on a given day. The drier stretch runs the rest of the year, bottoming out around Jun 22.

February is the wettest month by volume, with 1.8 in over about 7 wet days; August is the driest, with 0.0 in.

0%10%20%30%40%JanFebMarAprMayJunJulAugSepOctNovDecwetterdrierwettermostly drysome rainoften wetFeb 21 · 28%Jun 22 · 1%
Rain on a day (%)Rain days
Jan217
Feb257
Mar206
Apr134
May72
Jun21
Jul10
Aug10
Sep20
Oct62
Nov124
Dec196

Monthly rainfall

Over a full year, Shafter collects about 9.5 in of rain across 38 wet days — roughly 0.8 in in an average month.

It doesn’t fall evenly. February is the wettest month with 1.8 in, while August is the driest at just 0.0 in. The three wettest months alone bring about 56% of the year’s total.

00.511.522.5JanFebMarAprMayJunJulAugSepOctNovDec1.81.81.70.90.40.10.00.00.00.40.81.5
Rainfall (in)Rain days
Jan1.87
Feb1.87
Mar1.76
Apr0.94
May0.42
Jun0.11
Jul0.00
Aug0.00
Sep0.00
Oct0.42
Nov0.84
Dec1.56

Clouds and sunshine

ClearMostly clearPartly cloudyMostly cloudyOvercast

How often the daytime sky is clear, partly cloudy or overcast.

In Shafter, the average share of the sky covered by clouds shows significant seasonal variation over the course of the year.

The clearer part of the year begins around May 2 and lasts for 6.1 months, ending around November 4. The clearest month is August, when the sky is clear, mostly clear, or partly cloudy 96% of the time on average.

The cloudier part of the year begins around November 5 and lasts for 5.8 months, ending around May 1. The cloudiest month is February, when it is overcast or mostly cloudy 44% of the time.

0%100%10%90%20%80%30%70%40%60%50%50%60%40%70%30%80%20%90%10%100%0%JanFebMarAprMayJunJulAugSepOctNovDecAug 15 · 97%Feb 20 · 55%clearmostly clearpartly cloudymostly cloudyovercastcloudierclearercloudier
Clearer (%)Cloudier (%)
Jan5743
Feb5644
Mar6238
Apr7228
May8218
Jun928
Jul937
Aug964
Sep946
Oct8713
Nov7228
Dec6238

Daylight, sunrise and sunset

DaylightNight

Hours of daylight through the year, with sunrise and sunset times.

The gold band is daylight — sunrise runs along its lower edge, sunset along the upper — so it widens toward summer and pinches toward winter, with night the dark area above and below. The longest day, around June 12, brings about 14 h 24 min of light; the shortest, around January 1, only 9 h 36 min — a swing of roughly 4 h 48 min.

12 AM4 AM8 AM12 PM4 PM8 PM12 AMJanFebMarAprMayJunJulAugSepOctNovDec
Daylight (h)Sunrise (AM)Sunset (PM)
Jan9.97:115:02
Feb10.76:525:32
Mar11.76:155:58
Apr12.95:306:24
May13.84:576:49
Jun14.44:467:09
Jul14.24:577:08
Aug13.35:216:42
Sep12.25:455:58
Oct11.16:105:15
Nov10.16:394:45
Dec9.67:054:42

Sunny days

How many genuinely sunny days each month brings — days the sky stays clear or mostly clear — banded into plain-language zones.

Shafter averages about 20 sunny days a month — counting the days the sky stays clear or mostly clear — with a clear seasonal swing between 11 and 28 days.

The sunnier stretch runs 5.7 months, from around May 14 to Nov 1. The sunniest month is August, with roughly 28 sunny days (brilliant).

The greyest month is February, down near 12 sunny days — about 57% fewer than the August peak.

05101520253035JanFebMarAprMayJunJulAugSepOctNovDecgreyersunniergreyergloomymixedbrightbrilliantAug 1528 daysFeb 2711 days
Sunny daysSky
Jan13Mixed
Feb11Mixed
Mar13Mixed
Apr16Bright
May21Bright
Jun26Brilliant
Jul27Brilliant
Aug29Brilliant
Sep27Brilliant
Oct24Brilliant
Nov17Bright
Dec13Mixed

Humidity comfort

DryComfortableHumidMuggyOppressiveMiserable

Share of days at each humidity comfort level, based on the dew point — the measure that tracks how muggy it actually feels.

Humidity comfort is graded by the dew point — the temperature at which the air would be fully saturated — because it tracks how muggy it actually feels far better than relative humidity does. A low dew point feels dry and crisp; a high one feels sticky and oppressive no matter the reading on a humidity gauge.

In Shafter, the air stays dry or comfortable essentially all year. Even in July, the muggiest month, it feels humid or worse only about 11% of the time — humidity is not something you need to plan around here.

0%10%20%30%40%50%60%70%80%90%100%JanFebMarAprMayJunJulAugSepOctNovDecJan 4 · 100%Jul 25 · 86%humidcomfortabledrycomfortablehumidcomfortable
Dry (%)Comfortable (%)Humid (%)Muggy (%)
Jan99100
Feb98200
Mar96400
Apr98200
May93600
Jun841330
Jul642591
Aug652672
Sep762131
Oct91810
Nov99100
Dec100000

Wind

Average wind speed through the year, banded into plain-language speed zones so a number reads as 'breezy' or 'calm' without knowing the scale.

This is the average sustained wind speed at the standard 10 metres above open ground — the steady flow a weather station reports, not the sharper gusts that come and go, which can run half again as fast. It's the number that says whether a place is generally breezy or calm.

Wind in Shafter is steady company: average speeds sit near 3 mphcalm — in every month of the year, with no meaningful windy or calm season.

0510JanFebMarAprMayJunJulAugSepOctNovDeccalmlight breezeMay 18 · 4 mphOct 24 · 3 mph
Wind speed (mph)Feels
Jan3calm
Feb3calm
Mar3calm
Apr4calm
May4calm
Jun4calm
Jul3calm
Aug3calm
Sep3calm
Oct3calm
Nov3calm
Dec3calm

Best time to visit Shafter

TravelBeach/poolTemperatureCloudsPrecipitation

To characterize how pleasant the weather is in Shafter throughout the year, we compute two travel scores — one for general sightseeing, one for beach and pool weather.

Around mid May, Shafter is still near the tail of its best-weather window — great conditions with the peak-season crowds already thinning.

Inferred from the travel-score curve; month-by-month visitor numbers are a planned addition.

The travel score favors clear, rainless days with daytime highs between 64°F and 82°F. Based on this score, the best times of year to visit Shafter for general outdoor tourist activities run from mid March to late May and again from early October to late November, with a peak score in the last week of October.

0246810JanFebMarAprMayJunJulAugSepOctNovDecbest timebest timetravel scoretemperaturecloudsprecipitationOct 23 · 8.8

The travel score (filled area), and its constituents: the temperature score (red line), the cloud cover score (blue line), and the precipitation score (green line).

Travel score (0–10)Rating
Jan5.4fair
Feb6.2good
Mar7.2good
Apr8.2ideal
May7.4good
Jun4.8fair
Jul2.7poor
Aug3.0poor
Sep5.3fair
Oct8.3ideal
Nov7.5good
Dec5.4fair

The beach/pool score favors clear, rainless days with daytime highs between 75°F and 93°F. Based on this score, the best times of year to visit Shafter for hot-weather activities run from late April to late June and again from late August to late October, with a peak score in the first week of October.

024681012JanFebMarAprMayJunJulAugSepOctNovDecbest timebest timebeach/pool scoretemperaturecloudsprecipitationOct 1 · 9.0

The beach/pool score (filled area), and its constituents: the temperature score (red line), the cloud cover score (blue line), and the precipitation score (green line).

What to pack for Shafter, by month

EssentialRecommendedOptional

Month by month, what's worth putting in the bag — from the temperature range, rain chance, sun and wind. Tap a month for a quick packing note.

For a warm-season trip around July (highs near 97°F), the essentials are light clothes and sun protection. In the cold season around December (highs near 60°F), pack a warm layer.

Light clothing
Warm layer
Winter coat
Rain gear
Sun protection
Windbreaker

In July, Shafter sees daytime highs around 97°F and nights near 72°F. Pack light clothes and sun protection.

UV index (midday) in Shafter by month

LowModerateHighVery highExtreme

Clear-sky midday UV index through the year, shaded by the WHO exposure levels — how much sun protection each month calls for.

Under clear skies, the midday UV index in Shafter peaks around June 20 at about 10 (extreme) — sunscreen, a hat and midday shade are essential. It bottoms out near December 16 at about 2 (moderate).

The index reaches 3 or more — the level where the WHO recommends sun protection — in 9 months of the year.

025710JanFebMarAprMayJunJulAugSepOctNovDecModerateHighVery highVery highHighModerateJun 20UV 10Dec 16UV 2
UV index (midday)Level
Jan3Moderate
Feb4Moderate
Mar5Moderate
Apr7High
May8Very high
Jun11Extreme
Jul10Very high
Aug10Very high
Sep7Very high
Oct5High
Nov3Moderate
Dec2Moderate

Average hourly UV index in Shafter

LowModerateHighVery highExtreme

Modeled clear-sky UV for every hour of every day — when in the day sun protection actually matters.

The whole year hour by hour: each column is a day, each row an hour, and the color is the modeled clear-sky UV index — the midday peak scaled down as the sun sits lower in the sky. Darker overlays mark night, lighter ones the civil-twilight hours around sunrise and sunset.

UV falls off far faster than brightness as the sun drops, so even in June the burn window is concentrated in the middle of the day: about 8.5 hours a day reach index 3 (protection recommended), and 6 hours reach 6 or more. Mornings and late afternoons stay comparatively gentle year round.

JanFebMarAprMayJunJulAugSepOctNovDec12 AM2 AM4 AM6 AM8 AM10 AM12 PM2 PM4 PM6 PM8 PM10 PM12 AM
UV ≥ 3 (h/day)UV ≥ 6 (h/day)
Jan00
Feb40
Mar50
Apr6.53
May7.54.5
Jun8.56
Jul8.55.5
Aug85.5
Sep6.53.5
Oct50
Nov00
Dec00

Air quality in Shafter by month

GoodModeratePoorUnhealthyVery unhealthy

Average fine-particle pollution (PM2.5) through the year — so you can see which months the air is worst, not just the yearly average.

Air quality in Shafter is worst in December — around 44 µg/m³ PM2.5 (poor), about 6.1× the cleanest month (June, 7 µg/m³).

Modeled monthly averages (CAMS reanalysis, 2015–2024).

0204060JanFebMarAprMayJunJulAugSepOctNovDecGoodModerateGoodDec 1740 µg/m³Jun 107 µg/m³
PM2.5 (µg/m³)Level
Jan9Good
Feb9Good
Mar11Good
Apr9Good
May8Good
Jun7Good
Jul10Good
Aug14Moderate
Sep11Good
Oct11Good
Nov9Good
Dec44Poor
Almanac & agriculture

Growing season

Chance of a frost-free dayFrost-free year round

Shafter is frost-free year round — even the coldest nights rarely reach freezing, so there is no start or end to the growing season.

0%25%50%75%100%JanFebMarAprMayJunJulAugSepOctNovDecfrost-free year round
Frost-free chance (%)Frost nights
Jan980
Feb1000
Mar1000
Apr1000
May1000
Jun1000
Jul1000
Aug1000
Sep1000
Oct1000
Nov1000
Dec970

Growing degree days

Degree days (base 50°F)Frost-free shaded

Growing degree days tally heat above 50°F: each day adds however many degrees its average temperature runs over that threshold, and cold days add nothing. Shafter banks about 6,195 degree days a year, and the running total — which growers use to time plantings and predict maturity — climbs fastest around July.

02,0004,0006,000JanFebMarAprMayJunJulAugSepOctNovDec
Growing degree days (°F·days)
Jan47
Feb128
Mar278
Apr420
May664
Jun863
Jul1,071
Aug1,048
Sep843
Oct571
Nov229
Dec31

Solar energy

Average daily shortwave solar energy reaching the ground, banded into brightness zones so the number means something at a glance.

Solar energy is how much sunlight actually reaches the ground each day, measured in kilowatt-hours per square metre (kWh/m²) — the combined effect of how long the sun is up, how high it climbs, and how much cloud gets in the way. It's the raw fuel a solar panel has to work with: for scale, 1 kWh/m² a day is dim and wintry, while 7+ is desert-bright.

Shafter receives about 5.6 kWh/m² a day of solar energy on average — bright — with a clear seasonal swing between 2.6 and 8.4 kWh/m².

The brighter stretch of the year lasts 6.2 months, from around Mar 25 to Sep 29. The brightest month is June, averaging about 8.3 kWh/m² (intense).

The dimmest month is December, down near 2.6 kWh/m² — roughly 68% less than the June peak.

0123456789JanFebMarAprMayJunJulAugSepOctNovDecdimmerbrighterdimmerdimmoderatebrightintenseJun 228.4 kWhDec 172.6 kWh
Solar energy (kWh/m²)Level
Jan2.8Moderate
Feb3.7Moderate
Mar5.1Bright
Apr6.6Intense
May7.7Intense
Jun8.3Intense
Jul8.1Intense
Aug7.5Intense
Sep6.3Intense
Oct4.7Bright
Nov3.3Moderate
Dec2.6Moderate

Where is Shafter?

Shafter sits at 35.5°N, 119.3°W, 348 ft above sea level, in United States. The nearest listed city is Wasco, 7.5 mi away.

Topography around Shafter

How much the land rises and falls, and what covers it, within 2, 10 and 50 miles of Shafter.

Within 2 miles, the terrain around Shafter has only modest variations in elevation — a maximum elevation change of 69 ft around an average of 348 ft above sea level; within 10 miles, only modest variations in elevation — a maximum elevation change of 427 ft; within 50 miles, extreme variations in elevation — a maximum elevation change of 8,635 ft.

The land around Shafter is covered by trees (36%), cropland (21%) and artificial surfaces (21%) within 2 miles, trees (35%) and cropland (33%) within 10 miles, and grassland (55%) within 50 miles.

2 miles
69 ft
10 miles
427 ft
50 miles
8,635 ft
treesshrubsgrasslandcroplandartificial surfacesbare terrain
Nearby: Wasco 7.5 mi · Oildale 16 mi · Bakersfield 17 mi · Delano 19 mi · Lamont 26 mi · Arvin 32 mi · Porterville 42 mi · Corcoran 44 mi

United States travel facts

Power plugs
Type A / B
120 V · 60 Hz
Prices
≈ 100% of US
price level, 2025
GDP per capita
$90,027
2025
Happiness
6.8 / 10
World Happiness, 2025
Safe drinking water
98%
of population, 2024
Homicide rate
5.8
per 100k, 2023
Road deaths
12.7
per 100k/yr, 2019
Income group
High
World Bank
Religion
Protestant 47%unaffiliated 23%Roman Catholic 21%Jewish 2%

Sources: World Bank, US State Department, World Happiness Report, WHO/UNICEF, EF EPI, CIA World Factbook.

Data sources

Temperature, precipitation, cloud, humidity, wind and solar figures are a 1991–2020 climatology for Shafter (35.5005°, -119.2718°, elevation 348 ft), computed from hourly ERA5 reanalysis — contains modified Copernicus Climate Change Service information. Sun figures are astronomical calculations, not observations. City data © GeoNames, CC BY 4.0. Map outlines from Natural Earth (public domain); interactive map © Google. UV index is derived from CAMS (Copernicus Atmosphere Monitoring Service) clear-sky UV data — contains modified Copernicus Atmosphere Monitoring Service information. Monthly air-quality (PM2.5) seasonality is from the CAMS EAC4 reanalysis (Copernicus Atmosphere Monitoring Service), scaled to the WHO annual mean where available. Topography is sampled from the Copernicus DEM GLO-90 elevation model (© ESA/Airbus) and ESA WorldCover 2021 land cover (CC BY 4.0).