The optical properties and energy-transfer upconversion luminescence of - and -codoped (, Ba) glass and glass-ceramic under infrared excitation at 975 nm is investigated. In -codoped samples, green (525 and 550 nm) and red (662 nm) luminescence corresponding to the , e , respectively, was readily observed. In the -codoped system, emission peaks around 485, 530, 610, and 645, which were ascribed to the (,5,6) and (,3,4) transitions, respectively, were observed. The population of the praseodymium emitting level was accomplished through a combination of ground-state absorption of ions at , energy-transfer , and excited-state absorption of ions provoking the transition. The dependence of the upconversion emission on glass composition, pump power, and doping contents was also examined. Glassy and glass-ceramic samples were compared in order to determine the system with better luminescence efficiency.