Best you can do in this part of the state
If you're barreling up the I-5 and don't want to detour into Bakersfield for the night, you could do worse than the Best Western Heritage Inn near the Buttonwillow exit. It delivers everything you would expect from a freeway-adjacent Best Western...no more, but also no less, which is saying something in this remote locale. Clean, comfortable, not seedy or disappointing. Hope you like pancakes, as IHOP is the only table-service restaurant in the vicinity, breakfast, lunch, or dinner.