The invention discloses a planting method of inter-planting pineapples in a garlic ridge farmland. In the method, a natural organic fertilizer includes the following components, on the basis of dry weight, 40-70 parts of forestry and agricultural wastes, 3-6 parts of amino acid-chelated selenium, 20-40 parts of phosphorus-containing metamorphic rock powder being 300-450 meshes in granular size, 10-20 parts of an attapulgite powder mixture, 2-5 parts of sodium molybdate and 3-5 parts of L-lactobacillus sporogenes. The attapulgite powder mixture includes, by weight, 80-120 parts of attapulgite powder, 10-20 parts of medical stone powder, 10-20 parts of coated ammonium bicarbonate, 3-5 parts of honey, 20-30 parts of waste mushrooms from mushroom planting, 3-7 parts of calamine powder, 1-3 parts of waste residue of traditional Chinese medicines, and 0.3-0.5 parts of a biological composite enzyme. The pineapples planted with the natural organic fertilizer through the planting method contain various mineral elements, organic substances, proteins, amino acids and carbohydrates being beneficial to human body, The planting method has significant effects of preventing and treating plant diseases and insect pests in pineapples, can significantly increase yield of pineapples, and enables the fruits to be large and delicious.