This study was motivated by the need to examine the relationship between the use of Scratch-based learning media and students’ basic programming learning outcomes at SMPN 1 Batang Kapas, while also mapping the difficulties experienced by students in learning computational thinking materials in informatics. This study aimed to determine the relationship between the use of Scratch media and students’ basic programming learning outcomes. The subjects were eighth-grade students at SMPN 1 Batang Kapas, with a population of 207 students and a sample of 30 students. The study employed a correlational design with Cluster Random Sampling. Data were collected through questionnaires and analyzed using Product Moment correlation. The prerequisite test using Shapiro-Wilk showed significance values of 0.54 for variable X and 0.156 for variable Y, both of which were greater than 0.05, indicating that the data were normally distributed. The Test for Linearity obtained a Deviation from Linearity value of 0.181, which was greater than 0.05, indicating that the relationship between the two variables was linear. Hypothesis testing through Correlations analysis obtained a Pearson Correlation value of 0.832, indicating a positive and very strong relationship between the use of Scratch media and students’ basic programming learning outcomes. These findings imply that Scratch media can be selected as one teaching approach by informatics teachers in teaching basic programming and computational thinking and can also be considered by schools when preparing interactive media to minimize students’ difficulties in understanding basic programming concepts.