It is really individual as to how long it takes. For some people it can take 24 hours, others it can take 72 hours or more. The more you adhere to a ketogenic approach and the less you veer off it, the easier it is to get into ketosis and stay there. There are other things that can help encourage the body to get into ketosis, and you can find out more about them here.