There is no single answer; it depends on breed and individual development.
Small breeds may reach full size by 6 to 12 months, medium breeds by 18 months, and large breeds by 2 to 3 years. Behavioral puppyishness often lasts until 18 to 24 months.
Most dogs are considered adults by 2 years old, but consult your veterinarian for personalized advice.