The county borders Derbyshire , West Yorkshire , North Yorkshire , East Riding of Yorkshire , Lincolnshire and Nottinghamshire .
Lying on the east side of the Pennines , South Yorkshire is landlocked , and borders Derbyshire ( to the south-west ) , West Yorkshire ( to the northwest ) , North Yorkshire ( to the north ) , the East Riding of Yorkshire ( to the northeast ) , Lincolnshire ( to the east ) and Nottinghamshire ( to the southeast ) .