Using numerical simulation, a search is carried out for designs of asymmetric barrier layers (ABLs) for a laser diode having GaAs waveguide and emitting at the wavelength λ = 980 nm. A pair of ABLs, adjoining the active region on both sides, blocks undesired charge carrier flows and suppresses parasitic spontaneous recombination in the waveguide layers. Optimal designs of ABLs based on AlGaAsSb and GaInP for blocking electrons and holes, respectively, are proposed that make it possible to reduce the parasitic recombination current down to less than 1% of the initial value. To suppress electron transport, an alternative structure based on three identical AlInAs barriers is also proposed. The GaAsP spacers separating these barriers from each other have different thicknesses. Due to this, its own set of quasi-bound (resonant) states is formed in each spacer that is different from the neighbor spacer set of states. As a result of this, the resonant tunneling channels are blocked: the parasitic electron flow is reduced by several tens of times in comparison with the case of spacers of equal thickness.