Dielectric function, absorption coefficient, reflectivity, optical conductivity, energy loss spectra, index of refraction and extinction coefficient of AlGaX (X=P, As, Sb) in rocksalt phase, are calculated using full potential linearized augmented plane wave (FP-LAPW) method. All optical parameters are calculated in the incident photon energy range 0-25 eV. The maximum value of optical conductivity observed is 15 000 S. Index of refraction has a maximum value of 4.6. A decrease in the absorption coefficient and optical conductivity is observed when X is replaced by P, As and Sb. The extinction coefficient increases when P is replaced by As and Sb. The high value (n=4.6) of the index of refraction shows that AlGaX is a suitable alloy to be used in making advanced optical devices. © 2014 Elsevier B.V. All rights reserved.