This study proposes a new model for service quality measurement using sentiment analysis and text mining techniques. This model aims to overcome traditional methods' time, cost and implementation difficulties and provide a more dynamic and efficient approach to service quality measurement. In addition, in this model, instead of the dimensions used in service quality measurements, such as SERVQUAL or SERVPERF, it is shown how to determine new categories and keywords specific to the service sector in which the model is used by text mining. Thus, it is aimed at something other than reaching more accurate results in service quality measurement. To achieve the model’s purpose, it aims to develop a service quality measurement model using social media data processed by text mining and sentiment analysis. To find an answer to this question, the keywords "flood", "meter", "rain", "irrigation", "infrastructure", "sewerage", "sewage", "maintenance hole ", "aski", "waterless", "water" were extracted from 109.844 tweets sent to the Twitter account of a municipality between 2016 and 2022 by text mining method. Service quality was measured by subjecting 5766 tweets containing the keywords extracted to sentiment analysis. As a result of the service quality measurement, 1922 negative, 973 positive and 2871 neutral tweets were identified. The average negative score was 0.51, the average positive score was 0.11, and the average neutral score was 0.38.