Basketball was invented in December 1891 by Dr. James Naismith, a Canadian physical education instructor in Springfield, Massachusetts, as a safe, indoor game to keep young athletes active during the harsh New England winter.

The Winter Problem

At the time, Naismith worked at the YMCA International Training School (now Springfield College), where students played outdoor sports like football and track in good weather. When winter hit, the cold and snow forced them indoors, but the usual indoor activities were either boring or too rough, leading to injuries and rowdy behavior.

His boss, Dr. Luther Gulick, challenged him to create a new indoor game that would be exciting enough to hold the students’ interest, yet safe enough to minimize physical contact and injuries.

Naismith’s Solution

Naismith wanted a game that was fast, skill‑based, and less violent than football or rugby. He took ideas from soccer, football, and other sports, but designed rules to discourage rough play: no running with the ball, no tackling, and goals scored by throwing the ball into elevated baskets.

He nailed two peach baskets to the lower railing of the gym balcony, 10 feet above the floor, and used a soccer ball as the first basketball. On December 21, 1891, he divided his class of 18 students into two teams of nine and played the first game under his 13 original rules.

Why “Basketball”?

The name came naturally from the equipment: a ball and a basket. After the first game, someone suggested calling it the “Naismith Game,” but he reportedly said, “We have a ball and a basket; why don’t we call it basketball?”.

At first, the baskets still had bottoms, so every time a basket was made, the game had to stop while the janitor climbed a ladder to retrieve the ball. Later, the bottoms were cut out, and the modern net was introduced to keep the game flowing.

The Bigger Purpose

So, basketball wasn’t invented just for fun — it was a practical solution to a real problem: how to keep young men physically active, disciplined, and out of trouble during the long, cold winter months. Naismith hoped the game would promote teamwork, fitness, and moral character, not just competition.

That simple indoor game quickly spread through YMCA networks, schools, and colleges, eventually growing into the global sport we know today.

TL;DR
Basketball was invented in 1891 by James Naismith to give his students a safe, indoor sport to stay active and out of trouble during winter; he combined elements of other games into a new, less violent team sport played with a ball and peach baskets, which he named “basketball”.