This paper examines how technology specialization, measured by citation-weighed patents, affects trade flows. The paper analyzes the relationship between (i) technology specialization and export specialization across regions and (ii) the technology specialization of origin and destination and the quality of export flows. We find that the export specialization of regions corresponds to their technology specialization. Regions with higher technology specialization export products of higher quality, as indicated by higher prices. Moreover, export flows to destination countries with a high technology specialization consist of products of higher quality in the specific technology. The results are consistent with knowledge and technology being important for export performance and with regions with higher specialization in a technology being better equipped to produce high-quality products. They are also consistent with destinations of higher technology specialization, having a more pronounced demand for products of higher quality in the same technology.