 The state highway continues north to just south of the Pennsylvania state line.MD 23 turns west and closely parallels the state line for about before the highway veers northwest to cross the border.The highway continues north as PA 24 (Barrens Road) toward Stewartstown.