A new type of waveguide-based demultiplexer is made in a GaAs-AlGaAs system with a grating-assisted codirectional coupler structure to pick out the wanted wavelength. Two waveguides that are made vertically coupled are fabricated using a special backside processing method. This proposed multichannel demultiplexer is operated in the near-infrared wavelength range.