The B5031 is a short link road in east Staffordshire. It is part of one of the main signposted routes to Alton Towers.
The road starts at a roundabout on the B5030 on the edge of Rocester and in the landscaped grounds of the JCB factory. Its original southern end was at the other end of the Rocester bypass and the B5031 headed between the factory and the lake to its east (neither of which were there in 1922); this route is now largely closed to traffic.
The B5031 heads west and immediately crosses the River Churnet before running to the north of the man-made lake. It rejoins its original route at the next roundabout, which now provides access to the JCB factory. The road then enters the village of Denstone. The road skirts the village centre before ending at a roundabout on the B5032. Traffic for Alton Towers turns left here.