Yes, social anxiety disorder, also known as social phobia, is genetic. However, it is only partly genetic, as there are also environmental factors which contribute to the development of social anxiety disorder. So social anxiety disorder runs in families, but has both genetic and environmental components.