IntroductionCognitive–behavioural therapy (CBT) is an effective treatment for chronic primary pain (CPP), but effect sizes are small to moderate. Process orientation, personalisation, and data-driven clinical decision-making might address the heterogeneity among persons with CPP and are thus promising pathways to enhance the effectiveness of CBT for CPP. This study protocol describes one approach to personalise CBT for CPP using network analysis.Methods and analysisA single-case experimental design with multiple baselines will be combined with ecological momentary assessment (EMA). Feasibility and acceptance of the study procedure will be demonstrated on a sample of n=12 adults with CPP in an outpatient clinic. In phase A, participants complete 21 days of EMA, followed by the standard diagnostic phase of routine clinical care (phase B). Person-specific, process-based networks are estimated based on EMA data. Treatment targets are selected using mean ratings, strength and out-strength centrality. After a second, randomised baseline (phase A'), participants will receive 1 out of 10 CBT interventions, selected by an algorithm matching targets to interventions, in up to 10 sessions (phase C). Finally, another EMA phase of 21 days will be completed to estimate a post-therapy network. Tau-U and Hedges’ g are used to indicate individual treatment effects. Additionally, conventional pain disability measures (Pain Disability Index and the adapted Quebec Back Pain Disability Scale) are assessed prior, post, and 3 months after phase C.Ethics and disseminationEthical considerations were made with regard to the assessment-induced burden on the participants. This proof-of-concept study may guide future studies aiming at personalisation of CBT for CPP as it outlines methodological decisions that need to be considered step by step. The project was approved by the local ethics committee of the psychology department of University Kaiserslautern-Landau (#LEK-457). Participants gave their written informed consent prior to any data assessment and app installation. The results of the project will be published, presented at congresses, and relevant data will be made openly accessible via the Open Science Framework (OSF).Trial registration numberNCT06179784.