The invention relates to a five-in-one pre-expanding ecological pile treating foundation method suitable for foundation, foundation collapse, gold ore dressing and construction application of environment-friendly field. The method comprises: after the foundation is drilled with holes, filling the holes, injecting hammer blocks into the holes, carrying out five-in-one power consolidation of vertically and transversely pre-expanding, extruding, transmitting and propelling by super-pressure kinetic energy through impacting, smashing, extruding, pressing and chopping; then filling the holes repeatedly and carrying out forced ramming and piling consolidation of vertically and transversely pre-expanding, extruding, transmitting and propelling for the super-pressure kinetic energy hammer blocks through impacting, smashing, extruding, pressing and chopping; and finally manufacturing a deep foundation of a composite foundation of a pre-expanding ecological pile with high bearing capacity, a specific pile foundation and the pre-expanding ecological pile. The method is advanced, has low construction cost, effectively solves problems of various thick difficult foundations, can eliminate pollution of pollutant to environment, and make human live on the foundation of firmness, safety and free pollution.