Wessex Trains has bowed to pressure and will allow bikes on peak-time trains after protests over a recent ban.
The company had barred passengers from taking bikes on its services during the morning and evening rush hours because they took up too much space.
Now it says that a maximum of two bikes will be allowed per service.
Recently, a group of cyclists protested at Bath Spa station by taking a variety of large items on Wessex services such as ironing boards and step ladders.
The group wanted to know why these items were allowed but bikes were banned.
Wessex Trains says the policy has been rescinded because most of its trains now have an extra carriage.
Chris Urwin, from the Western Rail Passengers Committee, said: "Cycling and rail travel work well together and it's great that Wessex Trains have listened to their customers and come forward with this simpler policy."