20 CFR § 404.1027
Railroad work
February 18, 2021
We exclude from employment any work you do as an employee or employee representative as described in the Railroad Retirement Tax Act. However, railroad compensation can be counted for social security purposes under the conditions described in subpart O of this part.