An innovative beam-shaping method for laser diode stacking is presented by employing a pair of reflective two-wedge-angle prism arrays. Each subprism with two variable wedge angles is designed for deflecting the partial emission from different bars to the dead spaces of the stack, according to the configuration of the real laser diode (LD) stack and the requirement of the system. The formula to determine the parameters of each subprism is deduced by way of geometrical analysis. A beam-shaping system for stack laser diodes with three bars is designed and simulated, and the results show that the stack laser beam is well transformed into a required distribution efficiently. © 2005 Society of Photo-Optical Instrumentation Engineers.