A man has been charged after officers found 2000 ecstasy pills in the roof lining of a BMW, with more pills, $4000 in cash and five mobile phones also found in the car, police say.

Highway Patrol officers pulled over the black BMW sedan travelling on the Newell Highway towards Dubbo yesterday afternoon, after they got a public tip-off.

Police said they searched the 23-year-old male passenger and found 200 ecstasy tablets and the cash.

Officers also allegedly found five mobile phones and three boxes of resealable plastic bags.

The car was taken to a holding yard for a further search, and police allegedly found two packets containing about 2000 pills in the roof.

The drugs had an estimated potential street value of $60,000.

The man from Surfers Paradise has been charged with supplying a large commercial quantity of prohibited drugs and will appear in Dubbo Local Court today.