One of the difficulties in learning mathematics is anxiety. The level of anxiety can be seen from the students' responses in solving math problems. The process of minimizing these conditions in order to obtain better learning outcomes requires learning techniques that are in accordance with students' cognitive abilities. The learning technique that corresponds to this is the scaffolding technique. This study aims to analyze the factors that cause learning difficulties in mathematics in terms of math anxiety in the opportunity material for class X SMAN 2 Seunuddon and the results of applying scaffolding techniques to overcome the level of anxiety. The research approach is in the form of a qualitative descriptive type. X-2 grade students' research subjects. Data collection techniques used observation, tests, questionnaires, and interviews which were then analyzed using reduction, presentation and conclusion of data. Based on the test results, it was found that the difficulty of learning facts, concepts, operations and principles was 58%, 50%, 58% and 75%, respectively. Through interviews, it was found that the factors that caused students to experience learning difficulties were: difficulties in understanding the opportunity material, there were physical disturbances to students, lack of interest in studying mathematics, lack of self-motivation, teachers were less interesting in presenting material, lack of motivation from parents and inadequate facilities. Next, the scaffolding technique of the environmental provisions type was carried out. The test results after the technique was carried out found difficulty learning facts, concepts, operations and principles of 8%, 8%, 8% and 41%, respectively. Thus it was concluded that the use of scaffolding techniques of the environmental provisions type provided a significant reduction in students' difficulties caused by anxiety in working on word problems on probability material.