Dominant traits are expressed when at least one dominant allele is present, while recessive traits are only expressed when both alleles are recessive.