This question cannot be answered on a general basis. It depends very much on how unique your invention is and how often you have to correspond with the patent office. An excellent patent attorney can shorten the process significantly. For sure, it will take a few years from application filing to patent grant. The European Patent Office states a period of 3 to 5 years for the examination.