Study design A pilot randomized controlled trial of 206 smokers who receive care in Massachusetts General Hospital-affiliated primary care practices will compare the effect of delivering behavioral smoking cessation content with pharmacotherapy support by text message plus nicotine replacement therapy on self-reported quit attempts (intentional non-smoking for ≥24 hours), medication adherence, days not smoked, and smoking abstinence at the end of treatment. Smokers will be identified using the electronic health record, screened by their primary care provider, and proactively contacted by telephone by a clinical research coordinator. Potential subjects will be screened for eligibility by self-report and chart review by the Principal Investigator. Eligible subjects will be stratified by practice and readiness to quit (plan to quit smoking in the next 30 days vs no plan to quit smoking/plan to quit smoking in the next 6 months) and randomized 1:1:1:1 to 4 groups using a variable block randomization.