The influence of environmental stress on the expression of genetic and maternal effects on the viability traits has seldom been assessed in wild vertebrates. We have estimated genetic and maternal effects on the viability (viz probability of survival, probability of being deformed, and body size and shape) of common frog, Rana temporaria, tadpoles under stressful (low pH) and nonstressful (neutral pH) environmental conditions. A Bayesian analysis using generalized linear mixed models was applied to data from a factorial laboratory experiment. The expression of additive genetic variance was independent of pH treatments, and all traits were significantly heritable (survival: h2 approximately 0.08; deformities: h2 approximately 0.26; body size: h2 approximately 0.12; body shape: h2 approximately 0.14). Likewise, nonadditive genetic contributions to variation in all traits were significant, independent of pH treatments and typically of magnitude similar to the additive genetic effects. Maternal effects were large for all traits, especially for viability itself, and their expression was partly dependent on the environment. In the case of body size, the maternal effects were mediated largely through egg size. In general, the results give little evidence for the conjecture that environmental stress created by low pH would impact strongly on the genetic architecture of fitness-related traits in frogs, and hamper adaptation to stress caused by acidification. The low heritabilities and high dominance contributions conform to the pattern typical for traits subject to relatively strong directional selection.