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
David Cameron has pledged to reduce the annual benefits cap to £23,000 "within the first few days" of a Conservative election win.
Ed Miliband is to outline Labour's "10-year plan" for the NHS after warning it faces "its most perilous moment in a generation".
Argentina's president has announced plans to disband the country's intelligence services following the death of a state prosecutor.