The plane was reportedly having engine problems. A compressor was malfunctioning and one of the engines was not spinning properly.
The plane landed at SFO just before 2:45 p.m.
The flight had departed from SFO earlier in the day, bound for Tokyo.
An airline spokesperson says all 181passengers are safe and have been offered a hotel room for the night and have been booked on the next flight to Tokyo.