A beam shaping assembly for neutron capture therapy includes a beam inlet, a target having nuclear reaction with an incident proton beam from the beam inlet to produce neutrons forming a neutron beam defining a main axis, a moderator adjoining to the target, a reflector surrounding the moderator, a thermal neutron absorber adjoining to the moderator, a radiation shield arranged inside the beam shaping assembly and a beam outlet. The neutrons are moderated to epithermal neutron energies. The reflector leads the neutrons deviated from the main axis back, and a gap channel is arranged between the moderator and the reflector. The thermal neutron absorber is used for absorbing thermal neutrons so as to avoid overdosing in superficial normal tissue during therapy. The radiation shield is used for shielding leaking neutrons and photons so as to reduce dose of the normal tissue not exposed to irradiation.