The duration of cocaine addiction can vary from person to person and depends on various factors such as the frequency of use, the amount used, and the method of use. Addiction can develop quickly, and some people may become addicted after just a few uses. However, the time it takes for someone to develop an addiction to cocaine can range from a few weeks to several months. It is also worth noting that addiction is a chronic condition, and recovery can be a lifelong process.