Yes, coconut oil can expire, but it has a long shelf life.
It’s good for cooking and beauty uses for about a year.
Keep an eye and nose out for any changes.