Adam Marshall: has been caught drink-driving, the state's deputy premier says.

Adam Marshall has been caught drink-driving, the state's deputy premier says.

NSW MP Adam Marshall called himself “a bloody idiot,” after being caught drink driving in Glen Innes on Friday night.

The Northern Tablelands MP was stopped for a random breath test by the Glen Innes Police after an evening with locals and friends.

The 29-year-old MP said he has informed the Premier and Deputy Premier that he will be resigning his positions as Temporary Speaker of the Legislative Assembly and Deputy Chair of the State and Regional Development Committee.

In a statement, Mr Marshall said the mistake was of his own doing.

“Although I thought I was okay to drive, I wasn’t. I drank and drove, I was a bloody idiot,” he said.

NSW Police will allege he blew a mid-range reading of 0.112 at approximately 10.45pm on Friday.

Of his actions Mr Marshall said he hopes others will learn a lesson.

“This mistake was of my own doing, and if any good comes from it, I hope it is a clear message to others – if you drink and drive you will get caught.”

NSW Nationals leader Andrew Stoner said he was informed of the incident earlier on Saturday.

"I have since expressed to Adam my disappointment with his actions, and reiterated the high standards that I expect of all our MPs," he said.

Mr Marshall claimed his seat at a 2013 by-election sparked by the resignation of Richard Torbay, who held the Northern Tablelands as an independent for 14 years.

As a result of the incident his licence has been suspended.

He will appear in Glen Innes local court on July 15.

- with AAP