According to one embodiment, a nonaqueous electrolyte battery is provided. The nonaqueous electrolyte battery includes a positive electrode, a negative electrode including a negative electrode active material layer, a separator layer, an intermediate region, and a gel nonaqueous electrolyte. The separator layer and the intermediate region hold at least a part of the gel nonaqueous electrolyte. The nonaqueous electrolyte battery satisfies a volume ratio VA/VB of 5 or more. VA is a volume of the intermediate region. VB is an average volume of gaps among the particles of the niobium-and-titanium-containing composite oxide in the negative electrode active material layer.