The average salary last year for Edinburgh has been estimated at more than £51,000 - behind only London and Reading and Bracknell.
The city also saw the fifth highest growth in digital jobs across the UK's tech clusters between 2010 and 2014.
More than 21,300 people are now estimated to work in digital tech in the capital.
The overall estimate for tech jobs in Scotland is almost 101,400.
The figures were included in a report produced by UK government-backed Tech City UK in partnership with innovation charity Nesta.
Tech Nation 2016 estimated digital GVA (Gross Value Added) in Edinburgh last year at £378m - a rise of 58% between 2010 and 2014.
The report said that Edinburgh's strengths in academia and software, along with excellent local networks, had "created a stimulating environment" for start-ups to grow.
The city is already home to two billion-dollar tech companies, Skyscanner and Fanduel, as well as leading UK incubator Codebase.
However, the report warned that Edinburgh's rapid digital growth had led to skills shortages, despite the capital having access to top universities and colleges
Glasgow, meanwhile, was estimated to have 26,350 tech economy jobs, with an average digital salary of more than £46,850. Its digital GVA was estimated at £480m - a rise of 45% between 2010 and 2014.
The report said: "With a thriving community, great talent, and continued growth, Edinburgh leads as Scotland's digital tech centre.
"Glasgow's growing pool of software developers continues to draw major corporates, while Dundee has consolidated its position as a leader in the UK's games sector."
Overall, Tech Nation 2016 estimated that the UK's digital tech industries grew 32% faster than the rest of the UK economy between 2010 and 2014, with turnover reaching £161bn in 2014.
Over 100,000 people work in information and digital technologies in Scotland. Whether you’re an expert coder of software marketing specialist, Scotland offers plenty of opportunities to grow your career.
Find out why Scotland should be your next move