In mathematics, the homotopy category is a category built from the category of topological spaces which in a sense identifies two spaces that have the same shape. The phrase is in fact used for two different (but related) categories, as discussed below.
A model category is a more general setting for homotopy theory, applying to the category of topological spaces but also to many other categories in geometry and algebra. Every model category has an associated homotopy category.
The category of topological spaces Top has objects the topological spaces and morphisms the continuous maps between them. The older definition of the homotopy category hTop, called the naive homotopy category for clarity in this article, has the same objects, and a morphism is a homotopy class of continuous maps. That is, two continuous maps f: X → Y are considered the same in the naive homotopy category if one can be continuously deformed to the other. There is a functor from Top to hTop that sends spaces to themselves and morphisms to their homotopy classes. A map f: X → Y is called a homotopy equivalence if it becomes an isomorphism in the naive homotopy category.
Example: The circle S1, the plane R2 minus the origin, and the Möbius strip are all homotopy equivalent, although these topological spaces are not homeomorphic.
The notation [X,Y] is often used for the set of morphisms from a space X to a space Y in the naive homotopy category (but it is also used for the related categories discussed below).
Quillen (1967) emphasized another category which further simplifies the category of topological spaces. Homotopy theorists have to work with both categories from time to time, but the consensus is that Quillen's version is more important, and so it is often called simply the "homotopy category".