In the present work, we have analyzed the elastic scattering data of6He+p at 25.6, 38.6, 40.9, and 71 MeV/A and8He+p at 15.6, 25.6, 32.5, 66, and 72 MeV/A, using the microscopic local optical potential calculated within the framework of the Brueckner–Hartree–Fock (BHF) formalism. The calculation requires mainly two inputs: (1) the nucleon–nucleon (NN) interaction and (2) the nucleon distributions in target nuclei. In the present work, realistic internucleon (NN) potential from Argonne v18 (AV18) and the Urbana IX (UVIX) model of three-body forces with several nucleon density distributions are used for generating the nucleon–nucleus optical potential. We have used the exact method for calculating both the direct and the exchange parts of the spin–orbit potential. We confirm the earlier results that the spin–orbit potential for these neutron-rich nuclei is diffused and extended. Our results show that the different density distributions reproduce rather well the experimental differential cross sections for both isotopes, while the phenomenological density with a two-neutron halo gives satisfactory results for6He-p analyzing power data. None of the densities used for8He can reproduce the experimentally analyzed power data. Our analysis reveals that the calculated microscopic optical potentials, with and without three-body forces using the BHF approach, provide satisfactory agreement with the elastic scattering data for6,8He+p.