Research on larval rearing and nutrition of tephritid flies on artificial diets is key for the sterile insect technique. Here, we examined the effects of the type of gel (calcium alginate, agar, or carrageenan), at varying percentages in artificial diets for the polyphagous pest Anastrepha ludens, on the physicochemical and nutritional traits of the diets, and the effects of the type of gel, the gel content and the larval density (larvae/g of diet) used in production, quality parameters for mass-reared tephritids, diet removal (an indirect estimation of diet consumption), and nutritional traits of flies. Regardless of the gel content, calcium alginate diets were firmer and more resistant to penetration than the agar and carrageenan diets. The larval recovery, pupation, pupal weight, and flight ability of A. ludens were lower in calcium alginate diets than in agar and carrageenan diets. Diet removal was higher in calcium alginate diets; however, low levels of ammonium and high levels of uric acid in excretions from larvae on these diets suggest an alteration in protein metabolism. The firmness and penetration resistance characteristics of calcium alginate diets may have limited movement and feeding of larvae, but this could be overcome by the collective feeding of large groups of larvae. Our findings provide insights into the mechanism governing gel-diet rearing systems for A. ludens.