A permanent change in the genetic code that can be inherited.