Some 347 of the 25,000 taking part in the race were British and several told of the aftermath of the two blasts.
Mike Kendall, from Northampton, tweeted after completing the 26.2 mile race:
My thoughts are with @bostonmarathon after explosions, 2 dead and 22 injuries after such a good day with volunteers, runners and crowds
Anthony Meenaghan, 21, an architectural technology student from Sheffield Hallam University who is on a work placement in Boston, tweeted
Thanks for all messages. I'm safe and well. Can't believe what I saw and heard. Sad day
More top news
We round up the best reaction on social media to the news that Rio Ferdinand is hanging up his boots
Coronation Street stars paid tribute to "caring, loveable and funny" Anne Kirkbride, who played Deirdre Barlow for more than 40 years.
Queens Parks Rangers defender Rio Ferdinand has announced his retirement from football after his wife's recent death.