The Kratom plant, a valuable forest species with medicinal potential, thrives in the Riparian area of Empangau Village, Kapuas Hulu District. This study explores the correlation between Kratom cultivation land distance from the river and alkaloid content. Employing a survey method, the research focuses on two locations: one situated 20-50 meters from the river (location 1) and another 580-650 meters away (location 2). Utilizing a quantitative approach and gravimetric methods, the study analyzes alkaloid content in Kratom extracts. The study reveals significant influences on pH, organic carbon, total nitrogen, phosphorus (P2O5), calcium, magnesium, potassium, sodium, cation exchange capacity (CEC), base saturation, and alkaloid compounds, contingent on the distance from the riparian area. Location 2 exhibits superior attributes, boasting a plant height of 6.02 m, stem diameter of 8,532 m2, 30 primary branches, leaf area of 262,576, and a total alkaloid content of 15,491%, surpassing location 1 with an average plant height of 5.66 m, stem diameter of 8,286 m2, 26.6 primary branches, and leaf area of 257,586. Variations in environmental conditions, vegetation, temperature, humidity, and nutrient availability contribute to these differences in alkaloid growth and quality, highlighting the potential for optimized Kratom cultivation in specific Riparian areas.