An electrically insulating railway end post (100) adapted for placement between ends (10a, 20a) of a pair of railway rails (10, 20), each of said rails comprising a head section (11, 21), a foot section (13, 23) and a relatively narrow intermediate web section (12, 22) connecting the head section and the foot section, said end post comprising: a first portion (110) and a second portion (120) detachably attached to each other via
interlocking elements, wherein the second portion comprises a foot section of the end post; wherein the first portion is provided with a
sealant holding section (111a,111b,111c) comprising a plurality of recesses (112a, 112b, 112c) for receiving therein a liquid
sealant (160), wherein the recesses are configured to provide a form fit between the
sealant and the recesses when the sealant is cured, wherein the first portion (110), including the plurality of recesses, is adapted for
insertion between two ends (10a, 20a) of a pair of railway rails. The application further relates to a method of repairing such a railway end post, and to a first portion for such an end post.