The Monte Carlo simulation of the Borexino detector Astroparticle Physics, Volume 97, 2018, Pages 136-159 ISSN 0927-6505 Published 17 October 2017. [doi:10.1016/j.astropartphys.2017.10.003] (preprint on arXiv) Abstract We describe the Monte Carlo (MC) simulation of the Borexino detector and the agreement