ScotRail is asking customers if they support ending the blanket ban on drinking alcohol on its services, amid a claim it is "unworkable".
The online survey comes more than three years after it was introduced as a temporary measure to help stop the spread of Covid-19.
The future of the ban is a decision for ministers, rather than ScotRail.
The BBC says the Scottish Government is currently asking rail bosses, the police and unions whether they think the restrictions should end.
Rail users logging into ScotRail Wi-Fi spots are being invited to take part in a pop-up online survey, which begins with the statement: "In November 2020 ScotRail introduced a 24/7 ban to help support public health measures put in place by the Scottish government to help tackle coronavirus.
"This was presented and reported as a temporary measure.
"We are now looking to re-evaluate this prohibition and we are seeking our passengers' views and opinions on this matter."
Customers are then asked to answer yes or no to the question: "Would you be supportive of ScotRail removing the permanent alcohol ban on trains and in stations?"
A second question asks: "If the current total alcohol ban remained in place, would this impact your decision to travel with ScotRail for leisure journeys in the future?"
Respondents are asked to answer if they would be less or more inclined to get on a ScotRail train in that situation, or whether it would not affect them either way.
ScotRail is run by a Scottish government-owned company after being taken into public ownership in 2022.
The first minister has been urged to lift the current restrictions by Conservative transport spokesman Douglas Lumsden, who said in parliament last month: "ScotRail and British Transport Police have both told me the ban is unworkable."