Cyprus participated in the Eurovision Song Contest 2017 with the song "Gravity" written by Thomas G:son. The song was performed by Hovig, who was selected by the Cypriot broadcaster Cyprus Broadcasting Corporation (CyBC) in October 2016 to represent Cyprus at the 2017 contest in Kyiv, Ukraine. The Cypriot song, "Gravity", was presented to the public on 1 March 2017.
 Cyprus was drawn to compete in the first semi-final of the Eurovision Song Contest which took place on 9 May 2017. Performing during the show in position 15, "Gravity" was announced among the top 10 entries of the first semi-final and therefore qualified to compete in the final on 13 May. It was later revealed that Cyprus placed fifth out of the 18 participating countries in the semi-final with 164 points. In the final, Cyprus performed in position 19 and placed twenty-first out of the 26 participating countries, scoring 68 points.
 Prior to the 2017 contest, Cyprus had participated in the Eurovision Song Contest thirty-three times since the island country made its debut in the 1981 contest. Its best placing was fifth, which it achieved three times: in the 1982 competition with the song "Mono i agapi" performed by Anna Vissi, in the 1997 edition with "Mana mou" performed by Hara and Andreas Constantinou, and the 2004 contest with "Stronger Every Minute" performed by Lisa Andreas. Cyprus' least successful result was in the 1986 contest when it placed last with the song "Tora zo" by Elpida, receiving only four points in total. However, its worst finish in terms of points received was when it placed second to last in the 1999 contest with "Tha'nai erotas" by Marlain Angelidou, receiving only two points. After returning to the contest in 2015 following their one-year withdrawal from the 2014 due to the 2012–13 Cypriot financial crisis and the broadcaster's budget restrictions, Cyprus has managed to qualify for the final in all of the contests it has participated in, including 2016 where the nation placed twenty-first in the final with the song "Alter Ego" performed by Minus One.
 The Cypriot national broadcaster, Cyprus Broadcasting Corporation (CyBC), broadcasts the event within Cyprus and organises the selection process for the nation's entry. CyBC confirmed their intentions to participate at the 2017 Eurovision Song Contest on 19 October 2016. Cyprus has used various methods to select the Cypriot entry in the past, such as internal selections and televised national finals to choose the performer, song or both to compete at Eurovision. In 2015, the broadcaster organised the national final Eurovision Song Project, which featured 54 songs competing in a nine-week-long process resulting in the selection of the Cypriot entry through the combination of public televoting and the votes from an expert jury. CyBC opted to select the 2016 Cypriot entry via an internal selection, a method which was continued for 2017.
 On 20 October 2016, it was reported that CyBC had internally selected Hovig to represent Cyprus in Kyiv. Hovig was confirmed as the Cypriot artist for the Eurovision Song Contest 2017 the following day. Hovig previously attempted to represent Cyprus at the Eurovision Song Contest in 2010 and 2015, placing third in both of the national finals with the songs "Goodbye" and "Stone in a River", respectively. In order to create his contest song, the singer collaborated with Swedish composer Thomas G:son, who has written several Eurovision entries for various countries including the Swedish Eurovision Song Contest 2012 winning song "Euphoria" and the Cypriot Eurovision Song Contest 2016 song "Alter Ego".
 Hovig recorded his Eurovision entry in January 2017 in Stockholm, Sweden together with Thomas G:son. The song, "Gravity", was presented to the public on 1 March 2017 through the release of the official preview video, filmed at the CyBC Studio 3 in Nicosia and directed by Emilios Avraam, via the official Eurovision Song Contest's YouTube channel.
 Hovig made several appearances across Europe to specifically promote "Gravity" as the Cypriot Eurovision entry. On 24 December 2016, Hovig performed during the Armenian Eurovision artist selection Depi Evratesil. On 8 April 2017, Hovig performed during the Eurovision in Concert event which was held at the Melkweg venue in Amsterdam, Netherlands and hosted by Cornald Maas and Selma Björnsdóttir. On 15 April 2017, Hovig performed during the Eurovision Spain Pre-Party, which was held at the Sala La Riviera venue in Madrid, Spain.
 According to Eurovision rules, all nations with the exceptions of the host country and the "Big Five" (France, Germany, Italy, Spain and the United Kingdom) are required to qualify from one of two semi-finals in order to compete for the final; the top ten countries from each semi-final progress to the final. The European Broadcasting Union (EBU) split up the competing countries into six different pots based on voting patterns from previous contests, with countries with favourable voting histories put into the same pot. On 31 January 2017, a special allocation draw was held which placed each country into one of the two semi-finals, as well as which half of the show they would perform in. Cyprus was placed into the first semi-final, to be held on 9 May 2017, and was scheduled to perform in the second half of the show.
 Once all the competing songs for the 2017 contest had been released, the running order for the semi-finals was decided by the shows' producers rather than through another draw, so that similar songs were not placed next to each other. Serbia was set to open the show and perform in position 1, following the entry from the Czech Republic and before the entry from Armenia.
 The two semi-finals and the final were broadcast in Cyprus on RIK 1, RIK SAT, RIK HD and Trito Programma with commentary by Tasos Tryfonos and Christiana Artemiou. The Cypriot spokesperson, who announced the top 12-point score awarded by the Cypriot jury during the final, was Giannis Karagiannis who represented Cyprus in 2015.
 Hovig took part in technical rehearsals on 1 and 4 May, followed by dress rehearsals on 8 and 9 May. This included the jury show on 8 May where the professional juries of each country watched and voted on the competing entries.
 The Cypriot performance featured Hovig joined by two dancers, all of them dressed in black. At the beginning of the performance, a line appeared on the stage floor as explained by Hovig: "My song is about inviting to your life the person who keeps you on the right path. That's also the purpose of the line on stage." The performers also performed choreography which included Hovig being pushed around by his dancers. The LED screens displayed a white background that broke up into blocks. The artistic director of the performance was Haris Savva. The dancers that joined Hovig on stage were Marios Charalambous and Pavlos Lazarou, while Lars Säfsund was featured as an off-stage backing vocalist.
 At the end of the show, Cyprus was announced as having finished in the top 10 and subsequently qualifying for the grand final. It was later revealed that Cyprus placed fifth in the semi-final, receiving a total of 164 points: 103 points from the televoting and 61 points from the juries.
 Shortly after the first semi-final, a winners' press conference was held for the ten qualifying countries. As part of this press conference, the qualifying artists took part in a draw to determine which half of the grand final they would subsequently participate in. This draw was done in the reverse order the countries appeared in the semi-final running order. Cyprus was drawn to compete in the second half. Following this draw, the shows' producers decided upon the running order of the final, as they had done for the semi-finals. Cyprus was subsequently placed to perform in position 18, following the entry from the United Kingdom and before the entry from Romania.
 Minus One once again took part in dress rehearsals on 13 and 14 May before the final, including the jury final where the professional juries cast their final votes before the live show. Minus One performed a repeat of their semi-final performance during the final on 14 May. Cyprus placed twenty-first in the final, scoring 96 points: 53 points from the televoting and 43 points from the juries.
 Voting during the three shows involved each country awarding two sets of points from 1-8, 10 and 12: one from their professional jury and the other from televoting. Each nation's jury consisted of five music industry professionals who are citizens of the country they represent, with their names published before the contest to ensure transparency. This jury judged each entry based on: vocal capacity; the stage performance; the song's composition and originality; and the overall impression by the act. In addition, no member of a national jury was permitted to be related in any way to any of the competing acts in such a way that they cannot vote impartially and independently. The individual rankings of each jury member as well as the nation's televoting results were released shortly after the grand final.
 Below is a breakdown of points awarded to Cyprus and awarded by Cyprus in the first semi-final and grand final of the contest, and the breakdown of the jury voting and televoting conducted during the two shows:
  
  
 The following five members composed the Cypriot jury: