Sportster Models 883, 883 Custom, 1200 Custom, 883L, 1200L, 1200S, 1200 Roadster, XR1200, and the Nightster.
Sponsored by:
Sponsored by:

O2 Sensor issues

Thread Tools
 
Search this Thread
 
Old Aug 10, 2025 | 08:32 AM
  #1  
Gheaur's Avatar
Gheaur
Thread Starter
|
Stage III
Joined: Apr 2025
Posts: 3
Likes: 0
From: Romania
Default O2 Sensor issues

Hi guys!
As the title implies, I ran into some troubles with my front cyllinder o2 sensor,
I have a sportster 48 from 2016 stage 1 with vh shortshots, vh air filter and FP4 tune. Recently I had to take the top end off of my front cyllinder to remove a broken exhaust stud.
When I put everything back together and started the bike It fired up just as it always does except now the check engine light was on and there was a faint smell of gasoline.
I checked on the FP4 app and the codes that appeared were P0031 and P0134. I tried clearing the codes but they keep popping up. I also cleared the same codes from the bike's diagnostic mode.
I removed the sensor to inspect and clean it. After reinstalling it and firing the bike now only P0031 appeared.
I also checked the wiring and the pins and everything seems in order.
When I took the top end off I also cleaned the carbon deposits from the cyllinder head. Could there be any afr mismatch between the cyllinders causing the ecm to give this error codes? I don't want to buy a new o2 sensor for nothing.
Thank you!


 
Reply
Old Aug 11, 2025 | 06:55 AM
  #2  
WKNDS's Avatar
WKNDS
Grand HDF Member
Joined: Nov 2012
Posts: 4,994
Likes: 2,081
From: Newport,TN area
Default

Perhaps you might try clearing the code, then swap the front O2 sensor with the rear O2 sensor
to see if the code follows the supposedly "bad" sensor (P0051). Just a thought....

good luck & hth,

T.
 

Last edited by WKNDS; Aug 11, 2025 at 07:03 AM.
Reply
Old Aug 13, 2025 | 04:29 AM
  #3  
Andy from Sandy's Avatar
Andy from Sandy
Seasoned HDF Member
Community Influencer
Liked
Top Answer: 3
Top Answer: 5
Joined: Sep 2017
Posts: 12,233
Likes: 4,943
From: England
Default

P0031 is about the heater circuit and not so much the O2 sensor part.

You should be able to use an ohmmeter to test to see if you have continuity of the heater.

Connector 138 pin 1 violet and pin 2 white should be in the region of 14 to 35 ohms.

As WKNDS suggests swapping the sensors to see if the fault follows the sensor is an easy test to perform.
 
Reply
Old Aug 13, 2025 | 10:53 PM
  #4  
hammer6315's Avatar
hammer6315
HDF Community Team
15 Year Member
Liked
Loved
Community Favorite
Joined: Jan 2010
Posts: 1,260
Likes: 468
From: shore of Gitche Gumee
Community Team
Default

Swapping the sensors, what is the recommended method of removing a sensor? Last one I had removed in my auto, guy heated the bung to dull red color ~1200 degrees!
 

Last edited by hammer6315; Aug 14, 2025 at 07:35 AM.
Reply
Old Aug 14, 2025 | 03:23 AM
  #5  
Andy from Sandy's Avatar
Andy from Sandy
Seasoned HDF Member
Community Influencer
Liked
Top Answer: 3
Top Answer: 5
Joined: Sep 2017
Posts: 12,233
Likes: 4,943
From: England
Default

I have only removed the sensors from the previous iteration which are 18mm not 12mm. I bought a proper socket that has the side removed allowing the wire to stick out.

Now I did this with the header off the bike so I was able to stand it up on the ground and put my weight on the breaker bar that I used.

Example of tools I used:-
Breaker bar:-
Amazon Amazon

O2 socket:-
Amazon Amazon


ETA: Make sure of the correct size socket as the ones on the 2014 and newer bikes is smaller than the earlier non heated sensors.
 

Last edited by Andy from Sandy; Aug 14, 2025 at 03:48 AM.
Reply
Old Aug 18, 2025 | 01:26 PM
  #6  
Garry Sr's Avatar
Garry Sr
Grand HDF Member
Photogenic
Liked
Loved
Community Favorite
Joined: Mar 2023
Posts: 4,362
Likes: 1,348
From: Westland, Michigan
Default

Just for a little heads up I learned the hard way to always replace those little ****** in pairs on my bike, They're not all identical
 
Reply
Old Aug 18, 2025 | 03:16 PM
  #7  
Rob Roy's Revenge's Avatar
Rob Roy's Revenge
Road Warrior
5 Year Member
Liked
Loved
Community Favorite
Joined: May 2017
Posts: 1,966
Likes: 1,582
From: Scottish Highlands.
Default

The Iron 883 that I sold to a friend last month is running rough, after about a mile of riding it is coughing and spluttering, the revs go from slow to fast intermittantly, the engine management light is illuminated. The fault code is P0131, can this be due to a faulty front O2 sensor?

The air filter is a Rough Crafts type and the mufflers are stock H-D, see the image.

Any assistance will be greatly appreciated, thanks.





The motorcycle had been stored and unused for eighteen months.
 
Reply
Old Aug 19, 2025 | 03:05 AM
  #8  
Andy from Sandy's Avatar
Andy from Sandy
Seasoned HDF Member
Community Influencer
Liked
Top Answer: 3
Top Answer: 5
Joined: Sep 2017
Posts: 12,233
Likes: 4,943
From: England
Default

Check all wiring and connectors. It's worth checking all the connectors under the tank for copper oxide build up as they aren't sealed.

You mentioned elsewhere you fitted XiEDs, swap them and see if fault follows.

Swap O2 sensors to see if fault moves with sensor.
 
Reply
HD Forum Stories

The Best of Harley-Davidson for Lifelong Riders

story-0

7 Times Harley-Davidson Chucked Tradition Out the Window

 Verdad Gallardo
story-1

7 Surprising Harley-Davidson Products that Are Not Motorcycles

 Verdad Gallardo
story-2

8 Best Harley-Davidson Motorcycles Ever

 Pouria Savadkouei
story-3

10 Worst Harley-Davidson Motorcycles Ever

 Pouria Savadkouei
story-4

Killer Custom's Jail Break Is The Breakout That Refused to Blend In

 Verdad Gallardo
story-5

Crazy Bunderbike Build Looks Amazing, But Is It Impossible to Ride?

 Verdad Gallardo
story-6

Harley-Davidson Reveals Super Cool Cafe Racer Concept

 Verdad Gallardo
story-7

Engraved Rebellion: Inside Bundnerbike's Glam Rock II

 Verdad Gallardo
story-8

10 Motorcycles You Should Never Buy

 Joe Kucinski
story-9

10 Things Harley-Davidson Needs to Fix in 2026

 Verdad Gallardo
Old Aug 19, 2025 | 04:22 AM
  #9  
Rob Roy's Revenge's Avatar
Rob Roy's Revenge
Road Warrior
5 Year Member
Liked
Loved
Community Favorite
Joined: May 2017
Posts: 1,966
Likes: 1,582
From: Scottish Highlands.
Default

Thank you, Andy,

I have already removed the XiED's, I will try swapping the O2 sensors as you have suggested.

It is disappointing for me that the motor is now running rough after I've sold the Iron 883, it never missed a beat when I owned it.
 
Reply
Old Aug 19, 2025 | 04:27 AM
  #10  
Andy from Sandy's Avatar
Andy from Sandy
Seasoned HDF Member
Community Influencer
Liked
Top Answer: 3
Top Answer: 5
Joined: Sep 2017
Posts: 12,233
Likes: 4,943
From: England
Default

Do you think it needs the XiEDs? Did you remove them because you changed something?

If the sensors haven't been out they will be in there good and tight. I bought a proper socket for the job and used a breaker bar for the leverage.
 
Reply



All times are GMT -5. The time now is 06:33 PM.

story-0
7 Times Harley-Davidson Chucked Tradition Out the Window

Slideshow: Harley-Davidson built its reputation on nostalgia, but every so often, the company took a hard left turn into the future.

By Verdad Gallardo | 2026-05-20 11:18:19


VIEW MORE
story-1
7 Surprising Harley-Davidson Products that Are Not Motorcycles

Slideshow: The bar-and-shield logo shows up on far more than motorcycles, some of the company's most unexpected products have nothing to do with riding.

By Verdad Gallardo | 2026-04-29 16:50:35


VIEW MORE
story-2
8 Best Harley-Davidson Motorcycles Ever

Slideshow: Not every Harley gets it right, but these are the ones that genuinely earned their reputation.

By Pouria Savadkouei | 2026-04-15 14:23:21


VIEW MORE
story-3
10 Worst Harley-Davidson Motorcycles Ever

Slideshow: From the troubled AMF years to modern misfires, these bikes earned reputations for reliability issues, questionable engineering, or disappointing performance.

By Pouria Savadkouei | 2026-04-01 20:01:09


VIEW MORE
story-4
Killer Custom's Jail Break Is The Breakout That Refused to Blend In

Slideshow: Killer Custom's "Jail Breaker" build focuses more on stance and visual aggression than mechanical overhaul.

By Verdad Gallardo | 2026-03-18 19:20:32


VIEW MORE
story-5
Crazy Bunderbike Build Looks Amazing, But Is It Impossible to Ride?

Slideshow: The Swiss custom shop has taken a Harley Softail and stretched it into something so long and low that it looks closer to a rolling sculpture than a conventional motorcycle.

By Verdad Gallardo | 2026-03-07 16:15:30


VIEW MORE
story-6
Harley-Davidson Reveals Super Cool Cafe Racer Concept

Slideshow: Harley-Davidson's new RMCR concept revives the café racer formula with modern hardware-and it may be exactly the reset the company needs.

By Verdad Gallardo | 2026-03-04 12:23:37


VIEW MORE
story-7
Engraved Rebellion: Inside Bundnerbike's Glam Rock II

Slideshow: A standard cruiser becomes an intricate metal canvas in the hands of a Swiss custom house known for pushing Harley-Davidson platforms far beyond their factory brief.

By Verdad Gallardo | 2026-02-24 18:19:44


VIEW MORE
story-8
10 Motorcycles You Should Never Buy

Slideshow: There is no shortage of great motorcycles to buy, but we would avoid these ten.

By Joe Kucinski | 2026-02-19 14:50:51


VIEW MORE
story-9
10 Things Harley-Davidson Needs to Fix in 2026

Slideshow: Harley-Davidson's challenges aren't abstract; they show up in dropping shipments, shrinking dealer traffic, and strategic decisions that aren't yet translating into growth.

By Verdad Gallardo | 2026-01-13 18:33:17


VIEW MORE