Two-dimensional computations of propagating detonations in a stoichiometric hydrogen-air mixture diluted with nitrogen or argon were perfbrmed using a detailed chemical reaction mechanism Previous computational studies on detonation have not usually considred viscosity. In this study, we considered viscosity and calculated the behavior of shock induced boundary layer. From the results, we estimated the effects of viscosity on the characteristics of detonation. The velocity distributions in the boundary layer were verified by the theory of Sturtevant-Okamura. We investigated the effects of viscosity on cellular structure by examining pressure distribution, and trajectory of triple points.