After long-term waterflooding development erosion,large-scale channel is easy to form in the high permeability layers of the unconsolidated sandstone formations in offshore oil reservoirs and the heterogeneity of the layers would be stronger. In this case,foam flooding process alone will lead to the rushing of the foam in the channel,which results in invalid displacement. So it is necessary to take profile control before foam flooding. Through laboratory research,a three-layer heterogeneous core was applied to simulate oil reservoir of high permeability and strong heterogeneity. Foam flooding alone and foam flooding after profile control were implemented. The experimental results show that the ultimate recovery efficiency of the foam flooding after profile control is 18 percent higher than that of the foam flooding alone,and it can reach above 50 percent. More injection volume of the foam slug is better for enhancing oil recovery,and the best injection volume is 0.4 times of the pore volume;for the interlayer heterogeneous core,high strength modified starch gel will plug the high permeability formations,forcing subsequent foam slug to enter the middle-low permeability formations,thus the suction profile will be improved effectively and the recovery efficiency will be greatly improved. The final recovery degree could be increased by 36 percent compared with that after the first time water flooding.