This question is very complicated and cannot be answered in a few sentences. Basically, there are various ways in which you can obtain German citizenship. Within the framework of normal naturalization, you can generally be naturalized after 6-8 years. However, there are many positive and negative exceptions to this.