It takes time to gain weight. Depending on your activity level and diet, it can take anywhere from a few weeks to a few months. If you are trying to gain weight quickly, you may not be able to sustain the effort over a long period of time.