The depth distribution of the thermal neutron flux is a major factor in boron neutron capture therapy (BNCT) in determining the efficiency of cell sterilization. In this paper the fission detector method is developed and applied to measure the in-phantom thermal neutron flux depth distribution. Advantages of the fission detector include small size, direct measurement of thermal neutron flux in a mixed radiation field of BNCT beam, self-calibration, and the possibility of on-line measurement. The measurements were performed at epithermal a BNCT facility. The experimental results were compared with the thermal neutron flux calculated by the Monte Carlo method and found to be in good agreement.